Fix intermittent mobile scroll lock and suppress expected git errors on empty repos

This commit is contained in:
Chris Scott committed 2025-11-29 00:02:10 -05:00
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) => {