mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-19 01:51:15 -05:00
refac
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user