framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 0.18.3 to 0.20.2
8 releases in betweenevery note read
Release by release
- fixed
Ensuring each
MotionValuereceives oneMotionValuesMapupdate subscriber.
- fixed
- fixed
Adding
x/yMotionValues to theuseDragdependency list. - fixed
Ensure hover events only fire as a result of mouse interactions.
- fixed
- new
Allowing SVG
motioncomponents to acceptMotionValues via attributes. - new
Adding SVG attribute types to
Target.
- new
- new
initial={false}to shadow contents ofanimatethereby disabling on mount animation. - new
AnimationControls.setfor imperative setting of values. - fixed
Resolve animations only after a defined
delayto ensurevelocityis only resolved as an animation begins on a value.
- new
0.19.0nothing new or fixed in the note
- new
Production and prototype environment-specific tsdocs.
- new
- fixed
Properly cleaning up event listeners in tap gesture.
- fixed
Only starting pan gesture when pointer has moved more than one point.
- fixed
Applying
transformPagePointtodragConstraintswhen it's aRefObject<Element>to ensure it works in scaled environments. - fixed
Fixing
dragElasticbehaviour whendragMomentum={false}.
- fixed
- fixed
Preventing default browser behaviours on draggable elements.
- fixed
1 other line we could not sort, mostly version bumps
- 0.19.0
stylefire@5.0.0- ChangesoriginX/Ydefault to"50%".