There is a button in this link that, when clicked, will display a popup with animation. On the button, this interaction is set to display a popup.
This popup will remain for 4 seconds and then disappear animatedly based on this interaction.
The problem is that if you click the button again after the pop-up closes (after 4 seconds), it takes 4 seconds for the popup to open. This seems unusual, right?
Also, sorry for the screenshots being external links. I thought it would be easier to review that way.
Inside popup settings, you can create “Show Popup” interaction, where you “Start animation”, but this time the animation should be an “out” animation. You have to add a delay to it. In your case, that would be 4s.
I did, now the initial problem is fixed. But interestingly, when I click on the button, the animation to show the popup does not run. After removing the popup interaction (show popup), the animation runs again. Link