You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal here is to make MyComponent show and hide itself according to the isShown prop. The problem is that Animatable.View animates when it's mounted so when I render <MyComponent isShown={false}> the user sees the component appear and fade out.
Could we add a prop to Animatable Components to make them initially render a completed animation (in this example, a completed fadeOutDown) so they don't animate on mount, but only when animation prop changes?
The text was updated successfully, but these errors were encountered:
I have something like this:
The goal here is to make
MyComponent
show and hide itself according to theisShown
prop. The problem is thatAnimatable.View
animates when it's mounted so when I render<MyComponent isShown={false}>
the user sees the component appear and fade out.Could we add a prop to Animatable Components to make them initially render a completed animation (in this example, a completed
fadeOutDown
) so they don't animate on mount, but only whenanimation
prop changes?The text was updated successfully, but these errors were encountered: