Skip to content

framer-motion 5.0.1

[5.0.1] 2021-11-01

Added

  • onAnimationStart is now called with the definition of the triggering animation.

Fixed

  • Removing context memoisation to ensure removed values are correctly animated to.
  • Adding unmount check to AnimatePresence before updating state. PR by @ctrlplusb
  • Fixing types for multi-input useTransform. PR by @kena0ki
  • Fixing staggerChildren for value-specific transitions. Issue
  • Fixes animation between 0 and non-number/pixel keyframe array. Issue