Skip to content

Commit b83145c

Browse files
committed
Fix overflow issue on Send page body editor
Previously, when the Monaco suggestion window popped up, it used an absolute layout that resulted in a broken scrollbar on the editor if it went off the edge of the container. This options changes the layout so it now works correctly, popping out of the area entirely as a floating tooltip as expected.
1 parent 710d42e commit b83145c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/editor/base-editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ class BaseEditor extends React.Component<EditorProps> {
402402
scrollBeyondLastLine: false,
403403
colorDecorators: false,
404404
renderValidationDecorations: 'on',
405+
fixedOverflowWidgets: true,
405406

406407
// TODO: Would like to set a fontFace here, but due to
407408
// https://github.com/Microsoft/monaco-editor/issues/392

0 commit comments

Comments
 (0)