Title: Anchor scrolling only works first time it is clicked and not on subsequent clicks. · Issue #29099 · angular/angular · GitHub
Open Graph Title: Anchor scrolling only works first time it is clicked and not on subsequent clicks. · Issue #29099 · angular/angular
X Title: Anchor scrolling only works first time it is clicked and not on subsequent clicks. · Issue #29099 · angular/angular
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 cor...
Open Graph 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...
X 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 browse...
Opengraph URL: https://github.com/angular/angular/issues/29099
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" Anchor scrolling only works first time it is clicked and not on subsequent clicks.","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n\r\n\"@angular/router\": \"^7.2.5\",\r\n\r\n### Description\r\nIn attached stackblitz.\r\n\r\n1. Click 'scroll to A'. Page correctly scrolls to anchor A.\r\n2. Scroll the browser window back to top of page.\r\n3. Click 'scroll to A'. Page does not correctly scroll to anchor A.\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://stackblitz.com/edit/angular-q641ci\r\n\r\n## 🌍 Your Environment\r\n \"dependencies\": {\r\n \"@angular/common\": \"^7.2.5\",\r\n \"@angular/compiler\": \"^7.2.5\",\r\n \"@angular/core\": \"^7.2.5\",\r\n \"@angular/forms\": \"^7.2.5\",\r\n \"@angular/platform-browser\": \"^7.2.5\",\r\n \"@angular/platform-browser-dynamic\": \"^7.2.5\",\r\n \"@angular/router\": \"^7.2.5\",\r\n \"core-js\": \"^2.6.5\",\r\n \"rxjs\": \"^6.4.0\",\r\n \"zone.js\": \"^0.8.29\"\r\n }\r\n\r\n","author":{"url":"https://github.com/ImranAhmed","@type":"Person","name":"ImranAhmed"},"datePublished":"2019-03-04T16:06:49Z","url":"https://github.com/angular/angular/issues/29099"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c378c05-0ee4-0fcf-a688-9f001e5b73f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3A8:240CD1:1D3BC90:2526420:6B015E6F |
| html-safe-nonce | da3a1f4694c6a302f6d7875b024c2598f4fcca90ec33855404420a2d6ca8ba1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0E4OjI0MENEMToxRDNCQzkwOjI1MjY0MjA6NkIwMTVFNkYiLCJ2aXNpdG9yX2lkIjoiODIyMDA5NTA3NTkwMDgwODgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a2458d4e0c77a271a7281657986a5ebb21c2cbd82d968234682a959a3005b2f5 |
| hovercard-subject-tag | issue:416874059 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/29099/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5ceed6b45c3d16173863b870716e8f1f2d3dec4b3ecc41e7e1d8069da24ad2ea/angular/angular/issues/29099 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ceed6b45c3d16173863b870716e8f1f2d3dec4b3ecc41e7e1d8069da24ad2ea/angular/angular/issues/29099 |
| og:image:alt | 🐞 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ImranAhmed |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width