CodeEditor: Prevent suggestions from being clipped (#42120) (#42129)

Closes #40792

Co-authored-by: Josh Hunt <josh@trtr.co>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
(cherry picked from commit e3ef82203e)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-11-25 11:06:14 +01:00
committed by GitHub
co-authored by kay delaney
parent fb3302351c
commit 58605aa8de
@@ -131,6 +131,7 @@ class UnthemedCodeEditor extends React.PureComponent<Props> {
top: 0.5 * theme.spacing.gridSize,
bottom: 0.5 * theme.spacing.gridSize,
},
fixedOverflowWidgets: true, // Ensures suggestions menu is drawn on top
};
if (!showLineNumbers) {