You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
Hi.
I have found the following case: two or more consecutive modals must be shown (like wizard steps).
If you open a second modal when the first one is still closing, the UI freezes.
See app/app-component.ts line 32 for second opening when the first one is still closing.
Current work-around: avoid opening the second modal till ensuring the first one is fully closed.
In this simple case, it is fixed moving the logic from second opening from line 32 to 24 modalClosed().
However, I think this is a bug and should be fixed in the way, the library should properly deal with open and closing in safe and reliable ways, delaying opening if needed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
I have found the following case: two or more consecutive modals must be shown (like wizard steps).
If you open a second modal when the first one is still closing, the UI freezes.
Repro sample: https://stackblitz.com/edit/ng2-bs3-modal-case
See
app/app-component.ts
line 32 for second opening when the first one is still closing.Current work-around: avoid opening the second modal till ensuring the first one is fully closed.
In this simple case, it is fixed moving the logic from second opening from line 32 to 24
modalClosed()
.However, I think this is a bug and should be fixed in the way, the library should properly deal with open and closing in safe and reliable ways, delaying opening if needed.
The text was updated successfully, but these errors were encountered: