Prometheus: fix popup positioning in monaco-based query-field (#38964)

* prometheus: monaco: fix popup positioning

* added explanation comment
This commit is contained in:
Gábor Farkas authored and GitHub committed 2021-09-08 10:23:59 +02:00
1 parent e9631fdf7c
commit cbdba57924
1 file changed
+3
@@ -16,6 +16,9 @@ const options: CodeEditorMonacoOptions = {
scrollBeyondLastLine: false,
renderLineHighlight: 'none',
fontSize: 14,
// we need `fixedOverflowWidgets` because otherwise in grafana-dashboards
// the popup is clipped by the panel-visualizations.
fixedOverflowWidgets: true,
};
const MonacoQueryField = (props: Props) => {