framer/motion v2.6.1 Release Notes

Release Date: 2020-08-26 // over 3 years ago
  • 🛠 Fixed

    • 📚 Updating useDragControls documentation to reflect that triggering events should be usePointerDown, as mouse events work differently on touch screens.
    • AnimatePresence.custom is passed throughout the tree for all exit variants.
    • Animating the viewBox attribute of svg elements now correctly sets the viewBox attribute instead of view-box.

    ⬆️ Upgrade

    • Typescript 4.