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
Transitions (Fade, Grow, Slide) that unmount their children when they are no longer visible.
Why?
Sometimes is makes sense for content to enter and leave the DOM. For example for accessibility, you can use the autofocus attribute to declaratively focus an element when it enters the DOM.
How?
Add an unmount prop to the the transition components.
@dcocchia In order to do this, animations need to be used, and in order for animations to be used with no-jank, the keyframes must be preloaded. Should we leave this issue until that behavior in Radium is resolved or also ship a way for keyframes to be preloaded?
What?
Transitions (
Fade
,Grow
,Slide
) that unmount their children when they are no longer visible.Why?
Sometimes is makes sense for content to enter and leave the DOM. For example for accessibility, you can use the
autofocus
attribute to declaratively focus an element when it enters the DOM.How?
Add an
unmount
prop to the the transition components.cc @Eldwick
The text was updated successfully, but these errors were encountered: