René's URL Explorer Experiment


Title: Keep scroll position when navigating back · Issue #10929 · angular/angular · GitHub

Open Graph Title: Keep scroll position when navigating back · Issue #10929 · angular/angular

X Title: Keep scroll position when navigating back · Issue #10929 · angular/angular

Description: I'm submitting a ... (check one with "x") [ ] bug report => search github for a similar issue or PR before submitting [x] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/an...

Open Graph Description: I'm submitting a ... (check one with "x") [ ] bug report => search github for a similar issue or PR before submitting [x] feature request [ ] support request => Please do not submit support request...

X Description: I'm submitting a ... (check one with "x") [ ] bug report => search github for a similar issue or PR before submitting [x] feature request [ ] support request => Please do not su...

Opengraph URL: https://github.com/angular/angular/issues/10929

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Keep scroll position when navigating back","articleBody":"**I'm submitting a ...**  (check one with \"x\")\n\n```\n[ ] bug report => search github for a similar issue or PR before submitting\n[x] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\nWhen navigating forward and then back, the scroll position is lost. \n\n**Expected/desired behavior**\nWhen navigating on an extensive list of items, the user scrolls down the list and click on some item. The app activates the next route/component which shows the product details. If the user decides do navigate back, the page does not scroll to the previous point.\n\n**Reproduction of the problem**\n\nLive example:  http://plnkr.co/edit/vUROPirs5tjklyBw6t4H?p=preview\nstep 1 - first, adjust browser zoom until heroes from the hero list disappear\nstep 2 - scroll down to the end of the page\nstep 3 - click on \"RubberMan\"\nstep 4 - click on the back button either on the browser or the component\nstep 5 - the page is not scrolled to the same position of stop 2 \n\n**What is the expected behavior?**\nThe browser should scroll to the previous position like it happens in any non-single page application.\n\n**What is the motivation / use case for changing the behavior?**\nIt should be considered a bug that can reduce the level of the user experience.\n\n**Please tell us about your environment:**\n- **Angular version:** 2.0.0-rc.4\n- **Browser:** [all] \n- **Language:** [TypeScript 1.8 | ES5]","author":{"url":"https://github.com/felipedrumond","@type":"Person","name":"felipedrumond"},"datePublished":"2016-08-18T19:35:18Z","url":"https://github.com/angular/angular/issues/10929"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:58fcc108-d5e9-fab9-8a7d-091e0232abd1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8DFC:24A0A:14D7DFB:1A3B04E:6B015E79
html-safe-noncea596f68ab3817f7bd3938dffd4ec6518bf0b2424bdce2d53fd56ae720dd95e56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REZDOjI0QTBBOjE0RDdERkI6MUEzQjA0RTo2QjAxNUU3OSIsInZpc2l0b3JfaWQiOiIxMDA4MTIwOTkxODY5NjU2Njk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac822c6287ae40304ba3ea403d20de50d17d8262c7595f664838b2f03249f04a58
hovercard-subject-tagissue:171982425
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/10929/issue_layout
twitter:imagehttps://opengraph.githubassets.com/59f92718f1d2a48f162862ce0062137c79c66a4228472f4cf7a762bb6715f4ae/angular/angular/issues/10929
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59f92718f1d2a48f162862ce0062137c79c66a4228472f4cf7a762bb6715f4ae/angular/angular/issues/10929
og:image:altI'm submitting a ... (check one with "x") [ ] bug report => search github for a similar issue or PR before submitting [x] feature request [ ] support request => Please do not submit support request...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefelipedrumond
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/10929#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F10929
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F10929
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/10929
Reloadhttps://github.com/angular/angular/issues/10929
Reloadhttps://github.com/angular/angular/issues/10929
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/10929
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/10929
Keep scroll position when navigating backhttps://github.com/angular/angular/issues/10929#top
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
hotlist: googlehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22hotlist%3A%20google%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Aug 18, 2016https://github.com/angular/angular/issues/10929#issue-171982425
http://plnkr.co/edit/vUROPirs5tjklyBw6t4H?p=previewhttp://plnkr.co/edit/vUROPirs5tjklyBw6t4H?p=preview
Nexthttps://github.com/angular/angular/issues/10929?timeline_page=1
karahttps://github.com/kara
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
on Aug 18, 2016https://github.com/angular/angular/issues/10929#event-760461489
vsavkinhttps://github.com/vsavkin
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
on Aug 19, 2016https://github.com/angular/angular/issues/10929#event-761854594
https://github.com/dalamgir
dalamgirhttps://github.com/dalamgir
on Aug 23, 2016https://github.com/angular/angular/issues/10929#issuecomment-241591189
@vsavkinhttps://github.com/vsavkin
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Aug 25, 2016https://github.com/angular/angular/issues/10929#issuecomment-242432400
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Aug 30, 2016https://github.com/angular/angular/issues/10929#issuecomment-243528872
@vsavkinhttps://github.com/vsavkin
@Alamgirdhttps://github.com/Alamgird
https://github.com/xak2000
xak2000https://github.com/xak2000
on Sep 18, 2016https://github.com/angular/angular/issues/10929#issuecomment-247860878
https://github.com/crysislinux
crysislinuxhttps://github.com/crysislinux
on Oct 4, 2016https://github.com/angular/angular/issues/10929#issuecomment-251439632
https://photos.google.com/albumshttps://photos.google.com/albums
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Oct 4, 2016https://github.com/angular/angular/issues/10929#issuecomment-251444778
vsavkinhttps://github.com/vsavkin
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
on Oct 10, 2016https://github.com/angular/angular/issues/10929#event-818703938
https://github.com/amauryprieto
amauryprietohttps://github.com/amauryprieto
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-256860928
@felipedrumondhttps://github.com/felipedrumond
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-256887053
@amauryprietohttps://github.com/amauryprieto
https://github.com/amauryprieto
amauryprietohttps://github.com/amauryprieto
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-256908380
@felipedrumondhttps://github.com/felipedrumond
https://github.com/davidcp90
davidcp90https://github.com/davidcp90
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-257008725
@felipedrumondhttps://github.com/felipedrumond
https://github.com/felipedrumond
felipedrumondhttps://github.com/felipedrumond
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-257021629
@davidcp90https://github.com/davidcp90
https://github.com/davidcp90
davidcp90https://github.com/davidcp90
on Oct 28, 2016https://github.com/angular/angular/issues/10929#issuecomment-257023547
@felipedrumondhttps://github.com/felipedrumond
https://github.com/bennadel
bennadelhttps://github.com/bennadel
on Feb 3, 2018https://github.com/angular/angular/issues/10929#issuecomment-362839024
https://www.bennadel.com/blog/3407-restoring-and-resetting-the-scroll-position-on-navigation-with-a-polyfill-in-angular-5-2-3.htmhttps://www.bennadel.com/blog/3407-restoring-and-resetting-the-scroll-position-on-navigation-with-a-polyfill-in-angular-5-2-3.htm
https://github.com/stephengardner
stephengardnerhttps://github.com/stephengardner
on Feb 21, 2018https://github.com/angular/angular/issues/10929#issuecomment-367248570
@bennadelhttps://github.com/bennadel
https://github.com/stephengardner
stephengardnerhttps://github.com/stephengardner
on Feb 21, 2018https://github.com/angular/angular/issues/10929#issuecomment-367444291
https://github.com/bennadel
bennadelhttps://github.com/bennadel
on Feb 23, 2018https://github.com/angular/angular/issues/10929#issuecomment-368000914
@stephengardnerhttps://github.com/stephengardner
https://github.com/molass3s
molass3shttps://github.com/molass3s
on Mar 12, 2018https://github.com/angular/angular/issues/10929#issuecomment-372265497
https://github.com/axnsan12
axnsan12https://github.com/axnsan12
on Mar 14, 2018https://github.com/angular/angular/issues/10929#issuecomment-372886603
https://github.com/stephengardner
stephengardnerhttps://github.com/stephengardner
on Mar 14, 2018https://github.com/angular/angular/issues/10929#issuecomment-372888082
https://github.com/briancodes
briancodeshttps://github.com/briancodes
on Mar 19, 2018https://github.com/angular/angular/issues/10929#issuecomment-374360080
https://github.com/bolajipemipo
bolajipemipohttps://github.com/bolajipemipo
on May 7, 2018https://github.com/angular/angular/issues/10929#issuecomment-387045324
This SO answerhttps://stackoverflow.com/a/47877958/3413323
Thishttps://stackoverflow.com/a/44854611/3413323
jasonadenhttps://github.com/jasonaden
on Jun 7, 2018https://github.com/angular/angular/issues/10929#event-1669679639
feat(router): implement scrolling restoration servicehttps://github.com/vsavkin/angular/commit/f0f9c0487d566b559db596a93275ae4500126b38
f0f9c04https://github.com/vsavkin/angular/commit/f0f9c0487d566b559db596a93275ae4500126b38
mheveryhttps://github.com/mhevery
on Jun 8, 2018https://github.com/angular/angular/issues/10929#event-1671919234
feat(router): implement scrolling restoration service (#20030)https://github.com/angular/angular/commit/49c5234c6817ceae02b8bacb30adae99c45a49a9
#20030https://github.com/angular/angular/pull/20030
49c5234https://github.com/angular/angular/commit/49c5234c6817ceae02b8bacb30adae99c45a49a9
https://github.com/trotyl
trotylhttps://github.com/trotyl
on Jun 9, 2018https://github.com/angular/angular/issues/10929#issuecomment-395964705
#20030https://github.com/angular/angular/pull/20030
ocombehttps://github.com/ocombe
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 21, 2018https://github.com/angular/angular/issues/10929#event-1799526311
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 13, 2019https://github.com/angular/angular/issues/10929#issuecomment-531424161
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 13, 2019https://github.com/angular/angular/issues/10929#event-2633802732
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/10929
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/10929
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
hotlist: googlehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22hotlist%3A%20google%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.