-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Anchor scrolling only works first time it is clicked and not on subsequent clicks. #29099
Copy link
Copy link
Closed
Closed
Copy link
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: routerfreq3: highstate: confirmedtype: bug/fix
Milestone
Description
🐞 bug report
Affected Package
"@angular/router": "^7.2.5",
Description
In attached stackblitz.
- Click 'scroll to A'. Page correctly scrolls to anchor A.
- Scroll the browser window back to top of page.
- Click 'scroll to A'. Page does not correctly scroll to anchor A.
🔬 Minimal Reproduction
🌍 Your Environment
"dependencies": {
"@angular/common": "^7.2.5",
"@angular/compiler": "^7.2.5",
"@angular/core": "^7.2.5",
"@angular/forms": "^7.2.5",
"@angular/platform-browser": "^7.2.5",
"@angular/platform-browser-dynamic": "^7.2.5",
"@angular/router": "^7.2.5",
"core-js": "^2.6.5",
"rxjs": "^6.4.0",
"zone.js": "^0.8.29"
}
Reactions are currently unavailable
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: routerfreq3: highstate: confirmedtype: bug/fix