fix(ui): disable sticky scroll in Monaco editor
This commit is contained in:
parent
40ad118492
commit
d9a7c78e6f
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@
|
|||
language: '{{ $language }}',
|
||||
domReadOnly: '{{ $readonly ?? false }}',
|
||||
contextmenu: '!{{ $readonly ?? false }}',
|
||||
renderLineHighlight: '{{ $readonly ?? false }} ? none : all'
|
||||
renderLineHighlight: '{{ $readonly ?? false }} ? none : all',
|
||||
stickyScroll: { enabled: false }
|
||||
});
|
||||
|
||||
const observer = new MutationObserver((mutations) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue