-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ui-sref-active match doesn't consider anchor hashes #2761
Comments
Can you check the behavior of the latest 1.0 release? |
n/m I just pasted your code into a plunk and tested it. I think it works as you want in 1.0: http://plnkr.co/edit/3wFeU4tBkLwEjU9xNZx8?p=preview |
Good to know, I can confirm that but I'm not a fan of alpha software. Is there an ETA for 1.x? |
Soon, here's the checklist #2223 |
closing because this is fixed in master. |
ui-sref-active directive doesn't consider hashes when matching.
Multiple anchors on the same page are always altogether active.
Take for example a bootstrap tab set in a single page:
On page load both li elements will get "active" class with all the following urls:
There's should be an option to select match strategy and choose if you want to consider location hashes.
I'm using:
Angular v1.5.5
Angular UI Router v0.3.0
The text was updated successfully, but these errors were encountered: