-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: routerfreq2: mediumrouter: directivesRouterLink, RouterLinkActive, RouterOutlet etc.RouterLink, RouterLinkActive, RouterOutlet etc.state: confirmedtype: bug/fix
Milestone
Description
🐞 bug report
Affected Package
The issue is caused by package @angular/router
Is this a regression?
This was working in version 7.2
Description
When rendering a link with the routerLinkActive attribute inside an ng-template the routerLinkActive class is not applied to the parent element if the element is outside of the ng-template.
🔬 Minimal Reproduction
🌍 Your Environment
Angular Version:
"@angular/compiler": "8.1.3",
"@angular/core": "8.1.3",
"@angular/common": "8.1.3",
"@angular/router": "8.1.3"
constantant, osavelieva, asadsahi, cmalard, CedricCazin and 1 morehidegh
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: routerfreq2: mediumrouter: directivesRouterLink, RouterLinkActive, RouterOutlet etc.RouterLink, RouterLinkActive, RouterOutlet etc.state: confirmedtype: bug/fix