mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-30 03:54:59 +00:00
fix(app): auto-scroll button sometimes sticks
This commit is contained in:
parent
ddffb34b99
commit
b6565c606e
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue