diff --git a/src/lib/components/notes/NoteEditor.svelte b/src/lib/components/notes/NoteEditor.svelte index d81abcdb50..f203cf8e3a 100644 --- a/src/lib/components/notes/NoteEditor.svelte +++ b/src/lib/components/notes/NoteEditor.svelte @@ -1073,6 +1073,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings, {files} onInsert={insertHandler} onStop={stopResponseHandler} + scrollToBottomHandler={scrollToBottom} /> {:else if selectedPanel === 'settings'} diff --git a/src/lib/components/notes/NoteEditor/Chat.svelte b/src/lib/components/notes/NoteEditor/Chat.svelte index cff1d2e3ce..0dadd3a256 100644 --- a/src/lib/components/notes/NoteEditor/Chat.svelte +++ b/src/lib/components/notes/NoteEditor/Chat.svelte @@ -279,6 +279,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp loaded = true; + await tick(); scrollToBottom(); }); @@ -319,7 +320,7 @@ Based on the user's instruction, update and enhance the existing notes by incorp