Skip to content

framer-motion 10.0.0

[10.0.0] 2023-02-24

Added

  • background-color animations are now hardware accelerated.

Removed

  • Removing fallback for IntersectionObserver. Use a polyfill for support in older browsers.
  • Removed DeprecatedLayoutGroupContext.

Changed

  • Using exitBeforeEnter with AnimatePresence now throws an error.
  • Using value.onChange will now throw a warning with instructions to change to value.on("change", callback).
  • Using AnimateSharedLayout now throws an error.

Fixed

  • repeat: Infinity no longer de-opts from pre-generated WAAPI animations.