angular/components
Auf GitHub ansehenOverlay is not destroyed while navigating using Browser's Back/Forward button (RouteReuseStrategy is used)
Closed
#17.973 geöffnet am 16. Dez. 2019
P3area: cdk/overlayhelp wanted
Repository-Metriken
- Stars
- (24.044 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 2T 16h) (80 gemergte PRs in 30 T)
Beschreibung
Reproduction
https://angular-hlrhkp-pzxidw.stackblitz.io/
Steps to reproduce:
- Click on the navigate to second page link.
- Click on Browser Back Button and Open the select box .
- Click on the browser forward button to navigate.
Expected Behavior
What behavior were you expecting to see? The overlay of the previous component should be destroyed, when the browser navigation buttons clicked
Actual Behavior
What behavior did you actually see? The overlay of the material persists even after the page is routed to next page
Environment
- Angular:
- CDK/Material: 5.21
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows