From 292a9ae1e54bdaf5fca0d1b3f1008631a407d0a7 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 4 Sep 2024 23:05:33 -0700 Subject: [PATCH] disable sticky scroll by default in monaco --- frontend/app/view/codeeditor/codeeditor.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/app/view/codeeditor/codeeditor.tsx b/frontend/app/view/codeeditor/codeeditor.tsx index cdf00941c..68acd30f6 100644 --- a/frontend/app/view/codeeditor/codeeditor.tsx +++ b/frontend/app/view/codeeditor/codeeditor.tsx @@ -62,6 +62,9 @@ function defaultEditorOptions(): MonacoTypes.editor.IEditorOptions { minimap: { enabled: true, }, + stickyScroll: { + enabled: false, + }, }; return opts; }