Entering/Exiting Animations Should have a withFinalValues
Modifier
#7355
stefankiesz
started this conversation in
Ideas
Replies: 1 comment
-
Hey @stefankiesz! It would be a great feature. Since the library is open source, would you mind trying to implement this feature yourself? I can give you suggestions what you should update and where. Help from the community will be greatly appreciated, so please let me know if you are interested in trying to implement this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Entering/exiting animations already have the
withInitialValues
modifier [doc reference] which is handy for entering animations, but not very useful for exiting animations since setting it from the default '0' would cause the element to instantly jump to a new position before animating out.Exiting animations would greatly benefit from a
withFinalValues
modifier which would allow you to set how far out the element will move before fading completely out. This will reciprocate to the exiting animations the usefulness thatwithInitialValues
brings to entering animations.Beta Was this translation helpful? Give feedback.
All reactions