2
0

fix(engine): 🐛 Chat chunk management

This commit is contained in:
Baptiste Arnaud
2022-03-03 10:15:20 +01:00
parent 831150e040
commit 4714e8046a
5 changed files with 143 additions and 68 deletions

View File

@ -75,10 +75,12 @@ export const ConversationContainer = ({
const autoScrollToBottom = () => {
if (!scrollableContainer.current) return
scroll.scrollToBottom({
duration: 500,
container: scrollableContainer.current,
})
setTimeout(() => {
scroll.scrollToBottom({
duration: 500,
container: scrollableContainer.current,
})
}, 1)
}
return (