Disable programmatic scrolling for anchored entries#2672
Disable programmatic scrolling for anchored entries#2672spamguy wants to merge 1 commit intofreeCodeCamp:mainfrom
Conversation
… they are never cached.
|
Please merge soon. Bug is definitely a major one. |
|
I second Neonit's request. This bug makes devdocs basically useless the way I work. |
|
Does anyone know how to deploy this PR? Please :-) |
|
A workaround for me (using desktop Firefox) is re-submitting the URL (does not reload the page), if a click on an entry in the left column doesn't beam me to the anchor. Shortcut: CTRL + L, ENTER. (F5 also does the job, but it reloads the page and takes a lot longer) |
AFAIK @simon04 is the primary admin that can approve, merge, and deploy. |
|
And replying to myself. When using as a chrome app that has no address line for Ctrl-L.
|
This fixes a breakage caused by PR #2667 in which all route visits with no cached scroll position reset to the top. Anchored entries rely on the href's anchor to set scroll position and don't use cache; thus, all anchored entries scroll to the top.
nim's HTML cleaner was also updated to remove 'Source'/'Edit' links.
Fixes #2671 .