diff --git a/packages/framer-motion/src/value/use-scroll.ts b/packages/framer-motion/src/value/use-scroll.ts index 330a2139d7..e94bc8531a 100644 --- a/packages/framer-motion/src/value/use-scroll.ts +++ b/packages/framer-motion/src/value/use-scroll.ts @@ -57,7 +57,7 @@ export function useScroll({ target: target?.current || undefined, } ) - }, []) + }, [JSON.stringify(options.offset)]) return values }