Skip to content

Commit b74c5ba

Browse files
committed
chore: should do scroll on a timeout
1 parent affa55a commit b74c5ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/app/components/chat/ChatInterface.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async function pollToMessage({ message, resumeStreamId }: PollToMessageArgs) {
148148
console.log('Poll completed')
149149
}
150150
151-
doScrollBottom({ maybe: true })
151+
setTimeout(() => { doScrollBottom({ maybe: true }) }, 100)
152152
}
153153
154154
interface StreamToMessageArgs {

0 commit comments

Comments
 (0)