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
When having a simple mount/unmount animation on click and when the user presses the mouse button really fast each time the user clicks a new element is created if the animation was not completed. Resulting in many duplicated components and mount triggers. This seems unexpected.
Code: https://codesandbox.io/s/w0jj62rj45
open up developer tools and click the mouse button very fast on the list. You will see more than 2 components rendered in the dom
I would expect only a maximum of two items to be rendered in this case. Is this a know bug? Or is there a way to fix this? Or can i cancel running animations to avoid this?