gabiseabra/styled-transition-group

Selectively "disable" transition

Closed this issue · 0 comments

I have a 2-level deep slide-out menu something similar to this.

Level A slides out, and then if the user navigates further level B slides out on top of level A.

Is it possible with styled-transition-group to "disable" the transition of the "background" view so it looks like it sticks while the on-top layer slides in and out? And at the same time it should exit with it's default transition if the user chooses to exit the menu instead

When reading up on the CSSTransition API I only find callbacks, and honestly don't get my head around how those could help me here.

Please feel free to close this issue if this scenario is beyond the scope for styled-transition-group.