0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

fix(console): page scroll should work when scrolling on monaco editor

This commit is contained in:
Charles Zhao 2022-04-06 11:55:41 +08:00
parent b098dd5f59
commit 442e6935ad
No known key found for this signature in database
GPG key ID: 4858774754C92DF2

View file

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