mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fixes
This commit is contained in:
@@ -258,7 +258,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
didJustSendMessageRef.current = true
|
didJustSendMessageRef.current = true
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
didJustSendMessageRef.current = false
|
didJustSendMessageRef.current = false
|
||||||
}, 1_000)
|
}, 400)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[messages.length, claudeAsk]
|
[messages.length, claudeAsk]
|
||||||
@@ -496,7 +496,12 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
)
|
)
|
||||||
|
|
||||||
const handleRowHeightChange = useCallback(() => {
|
const handleRowHeightChange = useCallback(() => {
|
||||||
if (isAtBottomRef.current || didClickScrollToBottom || !didScrollUpRef.current) {
|
if (
|
||||||
|
isAtBottomRef.current ||
|
||||||
|
didClickScrollToBottom ||
|
||||||
|
!didScrollUpRef.current ||
|
||||||
|
didJustSendMessageRef.current
|
||||||
|
) {
|
||||||
scrollToBottomSmooth()
|
scrollToBottomSmooth()
|
||||||
}
|
}
|
||||||
}, [scrollToBottomSmooth, didClickScrollToBottom])
|
}, [scrollToBottomSmooth, didClickScrollToBottom])
|
||||||
|
|||||||
Reference in New Issue
Block a user