[Modal] Dimmer not hiding if multiple modals animating #2441
Labels
state/has-pr
An issue which has a related PR open
type/bug
Any issue which is a bug or PR which fixes a bug
Milestone
Bug Report
When a modal is hidden, it checks for other modals and if there are no other active or animating modals it hides the modal dimmer. This happens on the hiding animation start. If two modals start hiding at the same time, neither of them will hide the dimmer. This leaves you with a dimmer with no modals
Steps to reproduce
Expected result
Modal dimmer should be hidden
Actual result
The modal dimmer stay visible and active with no modals in it.
Testcase
https://jsfiddle.net/xmd9eht6/
Version
2.8.8
Potential Solution
hide all
orhide dimmer
functions.onStart
, do all this on hide animationonComplete
.I can make a pull request if others think this would be an appropriate fix
The text was updated successfully, but these errors were encountered: