Skip to content

Commit 810b3ad

Browse files
committed
feat: disable scrollBeyondLastLine for es display editor
Signed-off-by: seven <[email protected]>
1 parent 81a6ad4 commit 810b3ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/editor/es-editor/display-editor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ let displayEditor: Editor | null = null;
1616
const displayEditorRef = ref();
1717
const setupDisplayEditor = () => {
1818
displayEditor = monaco.editor.create(displayEditorRef.value, {
19-
automaticLayout: true,
2019
theme: getEditorTheme(),
2120
value: '',
2221
language: 'json',
22+
automaticLayout: true,
23+
scrollBeyondLastLine: false,
2324
minimap: { enabled: false },
2425
});
2526
};

0 commit comments

Comments
 (0)