mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Fix intermittent mobile scroll lock and suppress expected git errors on empty repos
This commit is contained in:
1 parent
f90683071f
commit
ae929a7c96
5 files changed
+27
-9
No files matched your search
@@ -47,6 +47,11 @@ export const MessageThread = memo(function MessageThread({ opcodeUrl, sessionID,
|
||||
hasInitialScrolledRef.current = false
|
||||
userScrolledUpRef.current = false
|
||||
lastMessageCountRef.current = 0
|
||||
lastScrollTimeRef.current = 0
|
||||
if (scrollRAFRef.current) {
|
||||
cancelAnimationFrame(scrollRAFRef.current)
|
||||
scrollRAFRef.current = null
|
||||
}
|
||||
}, [sessionID])
|
||||
|
||||
const scrollToBottom = useCallback((force = false) => {
|
||||
|
||||
Reference in new issue
Block a user