Skip to content

Commit 8982cb1

Browse files
Fix input panel scroll issue (#18) (#20)
1 parent c9d4b91 commit 8982cb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/InputPanel.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ onMounted(() => {
7171
contextmenu: false,
7272
scrollBeyondLastLine: false,
7373
lineHeight: lineHeight,
74-
padding: { top: 10, bottom: 10 }
74+
padding: { top: 10, bottom: 10 },
75+
scrollbar: {
76+
alwaysConsumeMouseWheel: false
77+
}
78+
7579
})
7680
7781
let previousLineCount = editor.getModel().getLineCount()

0 commit comments

Comments
 (0)