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
You can easily reproduce this bug in the "Cross-fade transition" example in demo.
If you quickly click twice (like doubleclick) on the image, the page will show the 2nd image. But at this moment, the parent component has already changed its state twice (swapped: false->true->false) and expecting <ReactCSSTransitionReplace> to show the 1st image. Apparently <ReactCSSTransitionReplace> ignored the 2nd change because the animation was not completed.
Now if you click on the image again (swapped is changed to true), nothing will happen on the page.