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
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)
Version: "@nativescript/angular": "~10.1.7",
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)
Maybe this has to do with change in angular?: angular/angular#10098
Best regards,
Yves.
The text was updated successfully, but these errors were encountered: