reactjs / react-transition-group

An easy way to perform animations when a React component enters or leaves the DOM
https://reactcommunity.org/react-transition-group/
Other
10.1k stars 652 forks source link

SwitchTransition to Support "default" mode (similar to vue Transition modes) #894

Closed Nativ-Sibony closed 7 months ago

Nativ-Sibony commented 8 months ago

When I use default mode on a simple fade-slide transition with Vue & Vue router on pages, I can see the transition happening simultaneously (so page leave to the left and a new page enter from the right in the same time). Here I have to choose whether its "out-in" or "in-out" but the default mode is not supported.