Skip to content

v2.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 14:35

Added

  • motion components: add a Boolean fx prop for marking elements with an fx attribute.
  • layout: support mass: "auto" and preserve spring velocity when interrupted.
  • spring: respect velocity with visualDuration and bounce.

Fixed

  • AnimatePresence: prevent premature removal during duplicate exits and call onExitComplete once per exit batch.
  • pinch: starting a drag during a snap animation no longer breaks the animation.
  • motion.create: preserve custom component prop inference, including required props.

Dependencies

  • Update framer-motion and motion-dom to ~14.14.0.