Problem: if queryParams are changed , link-to active class won't work


#1

Same problem as above.


#2

I’m not sure that is a bug unless I have misunderstood you. If you define query params in a link-to helper (even if you define them as null) and your current query params are different then it isn’t actually “active” anymore. If you think about it then this is kind of necessary so you could have multiple links on page that set different query params without each of them being shown as active.


#3

Thanks rick. I end up doing a boolean check of currentRouteName and then setting active class.