0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

Merge pull request #496 from logto-io/charles-log-2098-fix-page-scroll-not-work-on-monaco-editor

fix(console): page scroll should work when scrolling on monaco editor
This commit is contained in:
Charles Zhao 2022-04-06 14:44:47 +08:00 committed by GitHub
commit 8b2f873041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,9 @@ const CodeEditor = ({ value, onChange, language, height = '300px', isReadonly =
enabled: false,
},
folding: false,
scrollbar: {
alwaysConsumeMouseWheel: false,
},
};
return (