Un-mounting transitions
Open
discussion
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.