framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 12.40.0 to 12.43.0
5 releases in betweenevery note read
Release by release
- new
Hardware acceleration for
backgroundColorin supported browsers. - new
Hardware acceleration for SVG elements.
- fixed
AnimatePresence: Exiting children no longer interleave with entering children, which could reorder and remount children present in both renders. - fixed
motion: Throw error when passing a custommotioncomponent an incorrectreftype.
- new
- fixed
animateView: Cropped group layers now animateborder-radiusfrom the old to new radius.
- fixed
- fixed
animateView: Old layer fade out now cancelled when defining.new().
- fixed
- fixed
animateView: Auto-crop is now aspect-ratio aware, disabling crops for matching aspect-ratios. - fixed
animateView: Disabled automaticborder-radiusanimation.
- fixed
- new
animateView: Moves from Motion+ Early Access and alpha to main library. - new
animateView:.add()resolves a CSS selector orElementto automatically generate, apply and removeview-transition-name. - new
animateView:.new()and.old()configures values to animate on new and old layers. - new
animateView:.layout()can set a custom transition on the size/position animation of the currently selected elements.
- new
3 other lines we could not sort, mostly version bumps
- 12.42.0
animateView: Layers are automatically grouped to match their DOM-hierarchy. New.group(false)method opts-out. - 12.41.0
animateView:.enter()and.exit()now refer specifically tonewandoldlayers where there are no matchingoldornewlayers. - 12.41.0
animateView: Interrupted transition setups now return resolved animation rather than throwing.