diff --git a/packages/web/lib/hooks/useScrollWatcher.tsx b/packages/web/lib/hooks/useScrollWatcher.tsx index af47493f3..619625aca 100644 --- a/packages/web/lib/hooks/useScrollWatcher.tsx +++ b/packages/web/lib/hooks/useScrollWatcher.tsx @@ -40,6 +40,7 @@ export function useScrollWatcher(effect: Effect, delay: number): void { return () => { if (throttleTimeout.current) { clearTimeout(throttleTimeout.current) + throttleTimeout.current = undefined } window.removeEventListener('scroll', handleScroll) }