New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
router-link-active not working for nested routes #5334
Comments
So here is a plnkr demonstrating the behaviour: http://plnkr.co/edit/wAzoCIWB23KQLGWw1EGB?p=preview |
I think this can be closed. This router is deprecated and this works differently in the new router. |
Yeah, as of https://github.com/angular/vladivostok/issues/24 there might be a new solution for this, so I'll close this one... |
I had a similar issue where my I wrapped everything in a |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
When working with nested routes, all links to routes under a common root-path get the router-link-active class. E.g having two links like this:
navigating to "#/tasks/lists" results in the following DOM:
The text was updated successfully, but these errors were encountered: