Motion+
Motion / Changelog925 releases

Changelog

Releases across Motion, Motion+, and Motion AI Kit.

  1. Motionpatch12.35.2

    Fixed

    • Reduced filesize of styleEffect.
    • Fix rounding from popLayout.
    • opacity animations in React Strict Mode in development.
    • Ensure useSpring is 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: false with WAAPI animations.
    • Fix layout jump in React Strict Mode in development.
    • Detect divide-by-zero in CSS calc() values before making animatable templates.
  2. Motionpatch12.35.1

    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 = 0 on a finished animation sets the playhead in a paused state.
  3. Motionpatch12.34.6

    Fixed

    • Handle % translate values in layout animations.
  4. Motionpatch12.34.5

    Fixed

    • Ensure final WAAPI styles are always committed synchronously to prevent flash of incorrect styles in Firefox.
    • Prevent Next.js from caching typeof window checks.
    • Improve projection node cleanup.
    • Variant propagation fixed for asynchronously-mounted children.
  5. Motionpatch12.34.4

    Fixed

    • Ensure onComplete fires at the end of an animation sequence.
  6. Motionpatch12.34.3

    Fixed

    • Ensure velocity is never transferred to a time-derived spring.
  7. Motionpatch12.34.2

    Fixed

    • Layout animations: Reset motion value velocity when starting a new layout animation.
  8. Motionpatch12.34.1

    Fixed

    • useScroll: Ensure animations aren't hardware accelerated when target is set.
    • Improve animatable "none" generation for mask values.
  9. Motionpatch12.33.2

    Fixed

    • Improve detection of detached elements with vanilla layout animations.
  10. Motionpatch12.33.1

    Fixed

    • AnimatePresence: Ensure exiting nodes are correctly removed when rapidly switching children.
  11. Motionpatch12.31.3

    Fixed

    • <motion />: Ensure animation state is reset after being re-suspended.
    • Prevent stale values when mixing transitionEnd and transition.type: false.
    • Drag: Fix "sticky" throw velocity on initial interaciton.
    • Drag: Ensure catching a thrown element kills its velocity.
  12. Motionpatch12.31.2

    Fixed

    • onHoverStart and onHoverEnd first argument now correctly typed as PointerEvent.
    • whileHover: No longer persists after drag end.
    • AnimatePresence: Allow changing mode prop.
  13. Motionpatch12.31.1

    Added

    • Drag constraints updated even when draggable or constraints resize outside of React renders.
  14. Motionpatch12.30.1

    Fixed

    • Allow drag to be initiated by child a and button elements.
  15. Motionpatch12.29.3

    Fixed

    • Reorder: Fixed viewport autoscroll.
  16. Motionpatch12.29.2

    Fixed

    • Updates to layout animations.
  17. Motionpatch12.29.1

    Fixed

    • useAnimate: Now respects reduced motion settings set via MotionConfig.
  18. Motionpatch12.28.2

    Added

    • Add default value type px for fontSize.

    Fixed

    • Removed default value type from radius.
    • Ensure LazyMotion animates initial state even when state has changed before Motion is loaded.
  19. Motionpatch12.28.1

    Fixed

    • Ensure scale: "0%" isn't treated as default value.
  20. Motionpatch12.27.5

    Fixed

    • Ensure pen gesture is correctly cleaned up on drag cancel.
    • Fix edge case where DocumentProjectionNode's attached element was null.
  21. Motionpatch12.27.4

    Added

    • AnimatePresence: anchorY for vertically positioning popped children.

    Fixed

    • Fixed path drawing animations in zoomed Safari contexts by switching to unitless values.
  22. Motionpatch12.27.3

    Fixed

    • Ensure drag gestures trigger from keyboard-accessible elements (button, textarea etc) if these elements have drag applied directly.
  23. Motionpatch12.27.2

    Fixed

    • Adding sourcemaps to motion-dom and motion-utils.
    • Fix Reorder autoscroll within scrollable pages.
    • Gracefully handle missing elements in animation sequences.
  24. Motionpatch12.27.1

    Fixed

    • Improving projection node cleanup.
  25. Motionpatch12.26.2

    Fixed

    • Internal refactor of projection system into motion-dom.
  26. Motionpatch12.26.1

    Fixed

    • Improve overload selection for useTransform.
  27. Motionpatch12.24.12

    Fixed

    • Draggable elements now track pointer during page and element scroll.
  28. Motionpatch12.24.11

    Fixed

    • Fixed time sampling of GPU animations under heavy CPU load.
  29. Motionpatch12.24.10

    Fixed

    • Fixing missing import from motion-dom.
  30. Motionpatch12.24.9

    Fixed

    • Fixing Radix Dialog with AnimatePresence.
    • Ensure drag constraints animation resumes after press interruption.
    • Prevent drag gesture from triggering when pressing focusable elements.