react-transition-group icon indicating copy to clipboard operation
react-transition-group copied to clipboard

Handling CSSTransitions within a multi-step flow where each step is a route

Open roberthchapman opened this issue 7 years ago • 0 comments

I'm comfortable using CSSTransitions normally but when you have a multi-step process flow using React Router where each step counts as a route, and you want to render a breadcrumb with selections made so far (e.g a footer with buttons saying City:London, Neighbourhood: Mayfair, etc), how do you animate each button and overcome the fact that only newly added items will be transitioned? Since you have to move to a new route each time you move to the next step and render the next button?

roberthchapman avatar Dec 07 '18 11:12 roberthchapman