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:
parent
b098dd5f59
commit
442e6935ad
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ const CodeEditor = ({ value, onChange, language, height = '300px', isReadonly =
|
|||
enabled: false,
|
||||
},
|
||||
folding: false,
|
||||
scrollbar: {
|
||||
alwaysConsumeMouseWheel: false,
|
||||
},
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue