From Dev.to
Your closing modal is still eating clicks
You close a modal. The exit animation plays for 200ms. During those 200ms the user clicks the button behind it. Nothing happens. The modal is fading out, so it looks gone. But it is still in the DOM,...
