mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix(app): auto-scroll button sometimes sticks
This commit is contained in:
parent
ddffb34b99
commit
b6565c606e
@ -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…
x
Reference in New Issue
Block a user