vitonsky / react-elegant-ui

Elegant UI components, made by BEM best practices for react
https://vitonsky.github.io/react-elegant-ui/
Apache License 2.0
2 stars 0 forks source link

Fix disappear animations of not visible popups in reopened modals #134

Open vitonsky opened 2 years ago

vitonsky commented 2 years ago

At this time, popups inside some element (Modal for example) after change display of this element from none to block is play animation again.

When those popups is not visible and we change display property for parent - popups will shown and then will play disappear animation.

Try to await end of animations and set display: none for content or something like this.

Eventually, we may use opacity transitions instead of animations