diff --git a/src/modules/core/hooks/useAutomaticScrolling.ts b/src/modules/core/hooks/useAutomaticScrolling.ts index ae35683b..359c5ada 100644 --- a/src/modules/core/hooks/useAutomaticScrolling.ts +++ b/src/modules/core/hooks/useAutomaticScrolling.ts @@ -151,7 +151,7 @@ export const useAutomaticScrolling = ( }, timeoutMs); return () => clearInterval(scrollTriggerTimer.current); - }, [refOrCallback, scrollPerSecond, scrollAmountPercentage, screenDimensions, isActive, isPaused]); + }, [refOrCallback, scrollPerSecond, scrollAmountPercentage, screenDimensions, isActive, isPaused, invert, smooth]); return useMemo( () => ({ isActive, isPaused, start, cancel, toggleActive, pause, resume }),