Title: Equivalent to autoscroll=true: automatic scroll to top when route changes · Issue #6946 · angular/angular · GitHub
Open Graph Title: Equivalent to autoscroll=true: automatic scroll to top when route changes · Issue #6946 · angular/angular
X Title: Equivalent to autoscroll=true: automatic scroll to top when route changes · Issue #6946 · angular/angular
Description: When navigating within our SPA, we want to scroll back to the top of the page whenever the route changes. Users have commented that it is really odd if clicking a link at the foot of the page causes the content to change but leaves you s...
Open Graph Description: When navigating within our SPA, we want to scroll back to the top of the page whenever the route changes. Users have commented that it is really odd if clicking a link at the foot of the page cause...
X Description: When navigating within our SPA, we want to scroll back to the top of the page whenever the route changes. Users have commented that it is really odd if clicking a link at the foot of the page cause...
Opengraph URL: https://github.com/angular/angular/issues/6946
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Equivalent to autoscroll=true: automatic scroll to top when route changes ","articleBody":"When navigating within our SPA, we want to scroll back to the top of the page whenever the route changes. Users have commented that it is really odd if clicking a link at the foot of the page causes the content to change but leaves you still at the bottom.\n\nI'm not sure how best to handle this scenario, and would like to avoid having to add code to every top level component. This feels like the kind of thing that should be part of Angular itself, like autoscroll=true in Angular 1.\n","author":{"url":"https://github.com/pcroc","@type":"Person","name":"pcroc"},"datePublished":"2016-02-08T10:00:03Z","url":"https://github.com/angular/angular/issues/6946"}
| 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:c866fda8-8f79-eaf9-832d-9e1efbb95ed3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A82:2BE220:1BA346D:24DD4BA:6B0161DD |
| html-safe-nonce | 4f3cbf58af01c68025edf39f462ce02873e1bfc1a89c3913750feded0c8cd848 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTgyOjJCRTIyMDoxQkEzNDZEOjI0REQ0QkE6NkIwMTYxREQiLCJ2aXNpdG9yX2lkIjoiMzgwNTY4NzU4MjY2NzM5OTY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 901a825eb75612bbe3ca7ab4dcece2a445291fd12a943888b272e0f7a78d7b55 |
| hovercard-subject-tag | issue:132097194 |
| 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/6946/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f05dd51b48b26377bbc0f9b55cab448885e59620acd9b36e8b76df6a8b3348d6/angular/angular/issues/6946 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f05dd51b48b26377bbc0f9b55cab448885e59620acd9b36e8b76df6a8b3348d6/angular/angular/issues/6946 |
| og:image:alt | When navigating within our SPA, we want to scroll back to the top of the page whenever the route changes. Users have commented that it is really odd if clicking a link at the foot of the page cause... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pcroc |
| 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