motion
14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed
Upgrading motion From 12.40.0 to 12.43.0
5 releases in betweenevery note read
Reading releases, release notes and advisories…
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.
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.