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
Click on "Large Example" button, Dialog should appear.
Click "Back" button in your browser
Observe the whole page hidden behind semi transparent dialog's background.
Also reproducible if I put routerLink in the body of my dialog to navigate to another component, so it's not linked directly to browser navigation through native buttons.
I also tried to implement OnDestroy in my component and call there dialog's hide() method, but looks like OnDestroy is not called at all in steps above, maybe I understood meaning of OnDestroy wrong.
I'll try to find a solution, but maybe someone already know a workaround.
The text was updated successfully, but these errors were encountered:
aperevalov
pushed a commit
to aperevalov/ng2-bootstrap
that referenced
this issue
Sep 29, 2016
Check your documentation page, open a modal window and then navigate back and forth.
The modal is still open. I wasn't able to solve this by using the bsModalRef.hide()method.
Trying to use modal directive and found an issue. Background is not hiding when you navigate to another page.
Reproducible on official demo site:
Also reproducible if I put routerLink in the body of my dialog to navigate to another component, so it's not linked directly to browser navigation through native buttons.
I also tried to implement OnDestroy in my component and call there dialog's hide() method, but looks like OnDestroy is not called at all in steps above, maybe I understood meaning of OnDestroy wrong.
I'll try to find a solution, but maybe someone already know a workaround.
The text was updated successfully, but these errors were encountered: