framer / motion

Open source, production-ready animation and gesture library for React
https://framer.com/motion
MIT License
22.27k stars 733 forks source link

[BUG] v11 breaks all animations using vh and dvh as css unit #2612

Closed saltnpixels closed 1 month ago

saltnpixels commented 1 month ago

We upgraded too 11 and all our animations broke. We use a. lot of '100dvh' to make something full height and none of those animations work now with useAnimate or useAnimation. Drag controls also break when the position was set to a unit like that.

downgrading to 10...

mattgperry commented 1 month ago

Please make a ticket with a sandbox example as I can't replicate.