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 5, 2024. It is now read-only.
In my app the right sidenav is only required for one of several views, so is placed inside that view. Initially mdSidenav('right') works correctly, but stops working if one switches to another view and then returns to the one with the sidenav.
From looking at source, it seems like the issue occurs because when destroyed, a sidenav does not deregister itself from $mdComponentRegistry, so after a new sidenav is created, $mdComponentRegistry.get keeps returning the old instance.
The text was updated successfully, but these errors were encountered:
In my app the right sidenav is only required for one of several views, so is placed inside that view. Initially
mdSidenav('right')
works correctly, but stops working if one switches to another view and then returns to the one with the sidenav.From looking at source, it seems like the issue occurs because when destroyed, a sidenav does not deregister itself from $mdComponentRegistry, so after a new sidenav is created, $mdComponentRegistry.get keeps returning the old instance.
The text was updated successfully, but these errors were encountered: