Describe the bug
The content of path-based peripheral views is cleared when reopening the app in the same browser tab, e.g., via a browser bookmark.
This only happens if hash-bashed routing is enabled: provideRouter(routes, withHashLocation()).
To Reproduce
Steps to reproduce the behavior:
- Bookmark the application with the trailing hash (e.g.,
http://localhost:4200/#/)
- Click the browser bookmark
- Open a path-based view in the peripheral area
- Click the browser bookmark to reload the application
- See that the view content is cleared
Expected behavior
View content is not cleared, and the outlets in the URL are restored.