-
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 doesn't work with query parameters #1513
Comments
Can you put this in a plunkr please? |
sorry @christopherthielen, I haven't saw it in time to make a plunkr. |
I wonder why this issue is closed since its very much active bug. I'm using "0.2.15" but also tried with version "1.0.3". So, having a query parameter in the route will confuse ui-sref-active directive which won't trigger. Quite annoying since I have to add the class manually each time. |
It’s closed because no method was posted to reproduce the error. Would you like to do so? |
I don't have standalone working example but here is pretty much it. // Controller 1: // Controller 2: // Template 2:
|
I'm using ui-router
0.2.10
, and I'm trying to use ui-sref-active with query parameters. My state is like this:My markup is:
But, when I'm in
http://localhost/profile/name?backbutton=true
the ui-sref-active isn't activated.The text was updated successfully, but these errors were encountered: