We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30b482b + eabfe92 commit e919910Copy full SHA for e919910
frontend/src/pages/chat/Chat.tsx
@@ -819,6 +819,10 @@ const Chat = ({ type = ChatType.Browse }: Props) => {
819
chatMessageStreamEnd.current?.scrollIntoView({ behavior: 'smooth' })
820
}, [showLoadingMessage, processMessages])
821
822
+ useEffect(() => {
823
+ chatMessageStreamEnd.current?.scrollIntoView({ behavior: 'smooth' })
824
+ }, [messages])
825
+
826
const onShowCitation = (citation: Citation) => {
827
const path = `/#/document/${citation.filepath}`
828
const url = window.location.origin + path
0 commit comments