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)
|
markScrollGesture(e.target)
|
||||||
}}
|
}}
|
||||||
onScroll={(e) => {
|
onScroll={(e) => {
|
||||||
|
autoScroll.handleScroll()
|
||||||
if (!hasScrollGesture()) return
|
if (!hasScrollGesture()) return
|
||||||
markScrollGesture(e.target)
|
markScrollGesture(e.target)
|
||||||
autoScroll.handleScroll()
|
|
||||||
if (isDesktop()) scheduleScrollSpy(e.currentTarget)
|
if (isDesktop()) scheduleScrollSpy(e.currentTarget)
|
||||||
}}
|
}}
|
||||||
onClick={autoScroll.handleInteraction}
|
onClick={autoScroll.handleInteraction}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue