This commit is contained in:
Saoud Rizwan
2024-10-04 19:26:28 -04:00
parent 46868d3140
commit b7a5a3c952

View File

@@ -515,7 +515,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
// when sending a message user should be scrolled to the bottom (this also addresses a bug where sometimes when sending a message virtuoso would jump upwards, possibly due to textarea changing in size) // when sending a message user should be scrolled to the bottom (this also addresses a bug where sometimes when sending a message virtuoso would jump upwards, possibly due to textarea changing in size)
const timer = setTimeout(() => { const timer = setTimeout(() => {
scrollToBottomSmooth() scrollToBottomSmooth()
}, 0) }, 50)
return () => clearTimeout(timer) return () => clearTimeout(timer)
} }
case "api_req_retried": { case "api_req_retried": {