Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Terminate $uibModalInstance when new page is loaded #1105


User avatar
0
moustafa created

Hello Suppose that we are in Users Page, then open the ui-modal to insert new user , i noticed that if you tried to navigate to another page by pressing go back or go forward (browser's buttons) it will take you there ( previous page ) but the modal still showing up. try yourself to get the point clearly so my question is how to terminate $uibModalInstance when new page is loaded ?


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    You may use state change event of angular router. But we will also check for a solution since this is a UX problem. Thanks.