framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 13.4.0 to 13.5.1
8 releases in betweenevery note read
Release by release
- fixed
scroll: Temporarily reverted removal of internalobserveTimelineAPI to fix compatibility with previous13.xAPIs. Moving to pinned dependencies before removing in14.x. - fixed
styleEffect: Cleaning up an earlier value no longer removes a value that was bound to the same key after it. - fixed
svgEffect: No longer writes transforms and origins as attributes. - fixed
<motion>:inherit={false}now correctly not inheriting parent animations. - fixed
<motion>: FixsortNodePositionthrowing when a sibling hasn't mounted
- fixed
- new
spring: Now accepts negativebounce(0--1) to define overdamped springs. - fixed
Ensure
warninganderrormessages are cleaned from production build. - fixed
Ensure values are never rendered before they've been resolved.
- new
- fixed
AnimatePresence:mode="wait"no longer drops new children ifexitcompletes during a React transition.
- fixed
- fixed
layout: Fix relative child jumping when parent interrupts layout animation. - fixed
AnimatePresence: Can no longer drop a child added while another exit animation completes. - fixed
Reorder: Only clear Reorder.Group's reorder guard when values change. - fixed
spring/useSpring: 5% smaller.
- fixed
- fixed
useDragControls: FixedsnapToCursororigin drift on repeated calls. - fixed
drag: Improvedpointerendtiming. - fixed
spring: Check invalid spring values before applying. - fixed
AnimatePresence: Ensure children don't stick during reentry.
- fixed
- fixed
<motion>: Ensure animations replay whenSuspensereveals memoized content.
- fixed
- fixed
Reorder: Don't scale position of elements at origin0whendragConstraintschanges. - fixed
Unrecognised easing names no longer throw.
- fixed
- fixed
animate: CSS variable writes on SVGs apply tostyleattribute.
- fixed
9 other lines we could not sort, mostly version bumps
- 13.5.1
<motion>: Fall back to the attribute in readSVGValue when computed style is empty. - 13.5.1
<motion>: Internal changes toanimateChangesfor size reductions. - 13.5.0
<m>: 20% smaller. - 13.5.0
useSpring: 10% smaller. - 13.5.0
scroll/useScroll: Use main thread for alloffsetanimations. - 13.4.4
scroll: 44% smaller. - 13.4.4
useScroll: 33% smaller. - 13.4.4
Scroll callbacks: 50% faster.
- 13.4.4
Removed
ScrollTimelinesupport for JS callbacks as benchmarked no improvement overscrollInfo.