Code Overrides
Framer X

The unit of duration in "animate" is second, not millisecond.

No wonder why the animation stopped working as soon as a duration is added. It’s not broken, just VERY slow.🤦‍

// This animation will last 10 minutes, not 600 milliseconds!
animate.easeInOut(data.rotation, 360, 600) 

PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!

PPS: See other pro tips, or share / request a new tip.

© 2019 jimu Labs, Inc.