diff --git a/src/utils/useScroll.js b/src/utils/useScroll.js index 4c82a852..de59b6fa 100644 --- a/src/utils/useScroll.js +++ b/src/utils/useScroll.js @@ -51,7 +51,7 @@ export default function useScroll({ previousScrollStart = scrollStart; } - setReachStart(scrollStart === 0); + setReachStart(scrollStart <= 0); setReachEnd(scrollStart + clientDimension >= scrollDimension); setNearReachStart(scrollStart <= distanceFromStartPx); setNearReachEnd(