Skip to content

Commit 78c1fbc

Browse files
authored
chore: Enable user scroll even if mouse is on a Monaco editor (#334)
1 parent 420dba2 commit 78c1fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs-svelte-kit/src/lib/eslint/MonacoEditor.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
renderValidationDecorations: "on",
9999
renderWhitespace: "boundary",
100100
scrollBeyondLastLine: false,
101+
scrollbar: { alwaysConsumeMouseWheel: false },
101102
}
102103
103104
if (diffEditor) {

0 commit comments

Comments
 (0)