Motion / Changelog925 releases
Changelog
Releases across Motion, Motion+, and Motion AI Kit.
Fixed
AnimateNumber: Ensure values are updated when only§suffix/prefixupdate.
Added
- Skills: Installer better supports OpenCode.
Fixed
- Reduced filesize of
styleEffect. - Fix rounding from
popLayout. opacityanimations in React Strict Mode in development.- Ensure
useSpringis not affected by monitor framerate. - Updating animations sequence segment types to exclude lifecycle handlers.
- Fix layout animations with parents offset by a
%-based translation. - Fix
autoplay: falsewith WAAPI animations. - Fix layout jump in React Strict Mode in development.
- Detect divide-by-zero in CSS
calc()values before making animatable templates.
- Reduced filesize of
Added
- Skills: Installer now supports VS Code.
Updated
- MCP: Now loads codex with documentation if purchased AI Kit.
Fixed
- Fixing combination of string keyframes, spring and
delay. - Gracefully handle negative scroll values.
- Fix one-frame visual gap when rapidly switching WAAPI animations.
animation.time = 0on a finished animation sets the playhead in a paused state.
- Fixing combination of string keyframes, spring and
Fixed
- Handle
%translate values in layout animations.
- Handle
Fixed
- Ensure final WAAPI styles are always committed synchronously to prevent flash of incorrect styles in Firefox.
- Prevent Next.js from caching
typeof windowchecks. - Improve projection node cleanup.
- Variant propagation fixed for asynchronously-mounted children.
Fixed
- Ensure
onCompletefires at the end of an animation sequence.
- Ensure
Fixed
- Ensure
velocityis never transferred to a time-derived spring.
- Ensure
Fixed
- Layout animations: Reset motion value velocity when starting a new layout animation.
Fixed
useScroll: Ensure animations aren't hardware accelerated whentargetis set.- Improve animatable
"none"generation for mask values.
Fixed
splitText: Ensure split text elements retain vertical positioning.Carousel: Fix focus from breaking item reprojection.
Fixed
Ticker: Improve accessibility attributes.Cursor: Fix when using with browser-native drag gestures.- Updating
reftype inference forTypewriter,TickerandScrambleText.
Fixed
- Improve detection of detached elements with vanilla layout animations.
Fixed
AnimatePresence: Ensure exiting nodes are correctly removed when rapidly switching children.
Fixed
<motion />: Ensure animation state is reset after being re-suspended.- Prevent stale values when mixing
transitionEndandtransition.type: false. - Drag: Fix "sticky" throw velocity on initial interaciton.
- Drag: Ensure catching a thrown element kills its velocity.
Fixed
onHoverStartandonHoverEndfirst argument now correctly typed asPointerEvent.whileHover: No longer persists after drag end.AnimatePresence: Allow changingmodeprop.
Added
- Drag constraints updated even when draggable or constraints resize outside of React renders.
Fixed
- Allow drag to be initiated by child
aandbuttonelements.
- Allow drag to be initiated by child
Fixed
Reorder: Fixed viewport autoscroll.
Changed
ScrambleText: Removingspan.
Fixed
scrambleText: Fixeddelayhandling.
Added
Typewriter:onChangecallback.
Fixed
ScrambleText: Switch fromuseEffecttouseLayoutEffect.
Fixed
- Updates to layout animations.
Fixed
scrambleTextandScrambleText: Defaultdurationis now1.
Fixed
useAnimate: Now respects reduced motion settings set viaMotionConfig.
Added
- Add default value type
pxforfontSize.
Fixed
- Removed default value type from
radius. - Ensure
LazyMotionanimates initial state even when state has changed before Motion is loaded.
- Add default value type
Fixed
- Ensure
scale: "0%"isn't treated as default value.
- Ensure
Fixed
- Ensure pen gesture is correctly cleaned up on drag cancel.
- Fix edge case where
DocumentProjectionNode's attached element wasnull.