Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

demo(): fix breadcrumb when using back button #2464

Conversation

matthewrfindley
Copy link
Contributor

Fixes issue -> #2285.

menu.currentSection and menu.currentPage were not updated when location changed. This occurs because '/' will never match a registered section in the menu, causing the currentSection and currentPage to remain the same.

@ThomasBurleson
Copy link
Contributor

@matthewrfindley - where can I see this issue on http://material.angularjs.org ? How to reproduce?

@matthewrfindley
Copy link
Contributor Author

@ThomasBurleson The issue (#2285) has the repro steps. I was able to reproduce both locally and on http://material.angularjs.org.

@ThomasBurleson
Copy link
Contributor

@matthewrfindley - I see it now; I was not look at the Docs toolbar breadcrumbs... Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants