I'am trying to remove a button with animation onClick. The animation starts, but once it hits the text content inside the button the animation slows down a lot.
I have made codesandbox to show the issue: https://codesandbox.io/s/9y1pov351y
As you can see the two boxes with text inside stops up, but the one without text doesn't. Anyone know what the issue might be?