mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
fix(app): auto-scroll button sometimes sticks
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user