If you want to have a custom animation on your modal window, such as a shake for incorrect password entry, you cannot because the fade in and out styles are added to the element with JS.
To Reproduce
Some code like this shows the problem (codesandbox).
Bug report
Describe the bug
If you want to have a custom animation on your modal window, such as a shake for incorrect password entry, you cannot because the fade in and out styles are added to the element with JS.
To Reproduce
Some code like this shows the problem (codesandbox).
Expected behaviour
When the fade animation finished the style should be removed from the element
Screenshots
N/A
System information
N/A
Additional context
There is a work around I use at the moment but it would be nicer if the component handled it (codesandbox).