-
Glanced at the docs and from my previous question I know it is possible to specify different transition per animating style i.e. <MotiView
from={{ opacity: 0, scale: 0.5 }}
animate={{ opacity: 1, scale: 1 }}
transition={{
// default settings for all style values
type: 'timing',
duration: 350,
// set a custom transition for scale
scale: {
type: 'spring',
delay: 100,
},
}}
/> Is something like this possible, but for overriding / specifying different transition when element is "exiting"? i.e. I'd like to clamp a spring or change it to timing for an exiting modal transition. |
Beta Was this translation helpful? Give feedback.
Answered by
xzilja
Oct 11, 2023
Replies: 1 comment
-
Found |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xzilja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found
exitTransition
documentation, apologies.