framer/motion v5.0.0 Release Notes

Release Date: 2021-10-25 // over 2 years ago
  • โž• Added

    • Reorder components to create drag-to-reorder interfaces.
    • LayoutGroup allows namespacing layoutId and group elements that may affect each-other's layout on re-render.
    • layoutDependency prop to restrict when components are measured.
    • layoutScroll prop to hint to layout animations when a element is scrollable.
    • Layout animations are auto-completed when the viewport resizes.
    • layout="size" for size-only animations PR by @bhollis.

    ๐Ÿ›  Fixed

    • Various layout projection improvements.

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ AnimateSharedLayout is deprecated.