This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-15 15:08:59 +04:00
1 parent 673f587a86
commit 1595c20130
1 file changed
+1 -1
@@ -223,7 +223,7 @@
const position = Math.min(start, view.state.doc.length);
view.dispatch({
selection: { anchor: position },
effects: EditorView.scrollIntoView(position, { y: 'center' })
effects: EditorView.scrollIntoView(position, { y: 'start', yMargin: 0 })
});
}
refresh();