Skip to content [12.39.0] 2026-05-18
Added
- Support for
repeatType and repeatDelay in animation sequences.
Fixed
- Variants: Re-run keyframe animations when switching between variant labels even when they share identical keyframe arrays.
- Drag: Preserve in-flight motion value animations across React 19 reorder unmount/remount so
dragSnapToOrigin no longer leaves the drag transform stranded after a layout swap.
LazyMotion: Share React contexts between the framer-motion and framer-motion/m (and therefore motion/react and motion/react-m) CJS bundles so that <m.div> from the /m subpath picks up features loaded by <LazyMotion> from the main entry point.
useScroll: Support hydrating target and container refs from anywhere in the tree.
- Drag: Gesture no longer starts from incorrect start point when rendered inside
<AnimatePresence initial={false} />.
- Drag:
dragConstraints, when set as viewport-relative ref, no longer break on scroll.§
- Updated
visualElement hydration order.
useAnimate: Now respects skipAnimations.
AnimatePresence: Fix object-form initial values not applied on re-entry after exit completes.
scroll: Fixed callback progress when tracking an element.
useScroll: Fix hardware acceleration when tracking an element.