Hi Figma,
I’m adding Spring animation support to Prototyper transition.easing.type = 'GENTLE', 'QUICK'...
But I find that the transition.duration
field does not respect the value I assign to it.
For example:
When I set transition.duration
to 0.2
(200ms) in code, the field is set correctly i.e. to 0.2
. But in Figma’s Interaction Modal, the value displayed is 1200ms. When the prototype is played, the interaction also plays at 1200ms.
This behavior is unexpected. And the relevant API documentation do not describe how to accurately set spring animation duration.
Can someone help me understand how to implement duration correctly?