framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 14.3.1 to 14.7.1
5 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