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 navigating to a route (tab3) from browser, the default implementation of the navbar using and rountLinkActive is loading the content properly and selecting the specified navigation link.
But When I try to do the same flow using md-tab-nav-bar and md-tab-link, the content is loaded properly but the navigation link not getting selected.
Instead of looking into the overview document, directly went in to the tabs-demo.html page where I routerLinkActive #rla="routerLinkActive" was not mentioned in the sample. Apology from my side for note reading the overview.
After reading the issue #1967 got the workaround and now working as expected.
<a md-tab-link *ngFor="let tabLink of navItems; let i = index" [routerLink]="tabLink.link" routerLinkActive #rla="routerLinkActive" [active]="rlaSafe && rla.isActive"> {{tabLink.label}} </a>
When navigating to a route (tab3) from browser, the default implementation of the navbar using and rountLinkActive is loading the content properly and selecting the specified navigation link.
But When I try to do the same flow using md-tab-nav-bar and md-tab-link, the content is loaded properly but the navigation link not getting selected.
ng2material-navbarlink.zip
The text was updated successfully, but these errors were encountered: