fix(app): auto-scroll button sometimes sticks

This commit is contained in:
adamelmore 2026-01-26 20:30:49 -06:00
parent ddffb34b99
commit b6565c606e
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75

View File

@ -1703,9 +1703,9 @@ export default function Page() {
markScrollGesture(e.target)
}}
onScroll={(e) => {
autoScroll.handleScroll()
if (!hasScrollGesture()) return
markScrollGesture(e.target)
autoScroll.handleScroll()
if (isDesktop()) scheduleScrollSpy(e.currentTarget)
}}
onClick={autoScroll.handleInteraction}