framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 14.1.1 to 14.7.1
8 releases in betweenevery note read
Release by release
- fixed
Demote transforms to CPU when interrupted by layout animations.
- fixed
- new
animate: Mutable timeline sequences. - new
animate: Relative label offsets for timeline sequences. - new
useScroll: ReturnsscrollXLengthandscrollYLength. - new
Reorder: AddLazyMotion-compatible import.
- new
- new
Reorder: Grab-and-move keyboard reordering. - new
processFrame: Manually process the frameloop att. - new
stepFrames: For tests, synchronously advance frameloop time byduration. - fixed
Improved tree-shaking.
- new
- new
scopeMotion/useScopeMotion: Scope animations and gestures to set default transitions, specify root elements, match media, and easy cleanup. - new
Reorder: PassmovedtoonReorderas second argument. - fixed
drag: With direction lock, apply the move that sets the lock. Before, a fast drag released in that frame didn't move. - fixed
press: Improve cleanup of keyboard accessibility events. - fixed
Reorder: Stop double-countingwindowscroll during drag. - fixed
motion: Ensure we animate from the latest props when parentActivityis made visible. - fixed
useInView: Observerefif contents change after mount.
- new
- new
drag: Drag gesture added to JavaScript API.
- new
- fixed
AnimatePresence: FireonExitCompleteafter exiting children unmount. - fixed
AnimatePresence:popLayoutchildren that don't acceptrefare now popped when root component is<motion>element. - fixed
Fix interpolation of axis
rotateandskewtransforms during shared layout animation. - fixed
Fix layout animations when
layoutis enabled after mount.
- fixed
- new
stagger: Newgrid,from: "edges" | "random"options. - new
Support for
scaleZ. - fixed
Fix matrix3d and other digit-named transform functions being tokenised as numbers.
- fixed
useSpring: Ensure when switching targets we animate to the new target on switch. - fixed
Fix SVG MotionValue children being written as a children attribute.
- new
- new
Hardware accelerated independent transforms like
x,y,scaleXetc.
- new