CodeEditor: Prevent suggestions from being clipped (#42120)

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>
This commit is contained in:
kay delaney 2021-11-23 12:18:17 +00:00 committed by GitHub
parent 410044fa05
commit e3ef82203e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {