Fixed
Status Update
Comments
ri...@google.com <ri...@google.com>
ri...@google.com <ri...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks! This looks like a bug, thank you for reporting!
Description
Jetpack Compose version: 1.2.0 Jetpack Compose component used: Animation
Currently the keyframes() spec API only supports setting a keyframe at a millis point, this means if you change your duration of the whole animation, you will need to change all the millis checkpoints again.
Would it be possible to add another method for keyframes that lets you work in percentages? This would also conform more to the keyframes spec of CSS.
Example of such function that works with range: