My app includes several routerLinks that I have styled using [routerLinkActive]="['active']"
. Everything works perfectly when I click on one of the routerLinks to navigate. However, when I try to navigate using:
this._router.navigate( [ thisUrl ], {queryParams: queryParams } );
The routerLinkActive functionality suddenly stops working. Has anyone encountered and solved this issue before?
I am currently using angular2 version 2.4.1