mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-19 04:53:52 +00:00
refac
This commit is contained in:
parent
673f587a86
commit
1595c20130
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue