You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nsRouterLinkActive not working when nsRouterLink is on same element #2321
When I put the nsRouterLink on the same element as the nsRouterLinkActive, the style class is not added.
When I put it on an element within, it works as expected.
<GridLayout [nsRouterLink]="/user/bob" nsRouterLinkActive="highlight" [nsRouterLinkActiveOptions]="{exact: true}"> <Label [text]="name" class="menu-text"></Label> </GridLayout>
does not work!
<GridLayout nsRouterLinkActive="highlight" [nsRouterLinkActiveOptions]="{exact: true}"> <Label [nsRouterLink]="/user/bob" [text]="name" class="menu-text"></Label> </GridLayout>
works! (and can be used as a workaround for now)
Activity
alexonozor commentedon Aug 10, 2022
I still experience this bug "@nativescript/angular": "^14.0.0",
invergent commentedon Aug 22, 2022
I am experiencing this bug too. I am also using "@nativescript/angular": "^14.0.0".