mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fixes
This commit is contained in:
parent
f7fac83110
commit
c687086b69
1 changed files with 4 additions and 1 deletions
|
|
@ -508,7 +508,10 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||
const lastMessage = messages.at(-1)
|
||||
if (lastMessage && lastMessage.say === "api_req_retried") {
|
||||
// unique case where the api_req_started row will shrink in size when scrollview at bottom, causing didScrollUp to get set to true and followoutput to break. To mitigate this when an api request is retried, it's safe to assume they're already scrolled to the bottom
|
||||
scrollToBottomAuto()
|
||||
const timer = setTimeout(() => {
|
||||
scrollToBottomAuto()
|
||||
}, 0)
|
||||
return () => clearTimeout(timer)
|
||||
}
|
||||
}, [messages, scrollToBottomAuto])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue