framer/motion v2.4.0 Release Notes
Release Date: 2020-08-12 // over 3 years ago-
➕ Added
- ⬆️ Upgraded
useTransform
to accept multipleMotionValue
s. - 💅 Support for
transformPerspective
style. - Internal:
_dragX
and_dragY
externalMotionValue
targets for drag gesture. - 👍 Internal: Support for rotate in
AnimateSharedLayout
within Framer. - ⚡️ Internal:
onViewportBoxUpdate
,onLayoutMeasure
andonLayoutUpdate
event handlers added toHTMLVisualElement
.
🛠 Fixed
- 🛠 Fixed
AnimateSharedLayout
within React17.0.0-rc.0
. - Drag now works directly on
x
andy
transforms unlesslayout
orlayoutId
are also set.
🔄 Changed
- 🗄 Marked
useInvertedScale
as deprecated.
- ⬆️ Upgraded