Packages

motion

14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed

Your version

12.39.0

18 May 2026Where it was published

12.43.0 is the newest release of 12.x.

In short

1 new11 fixed

Release note

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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.