Skip to content

Disable programmatic scrolling for anchored entries#2672

Open
spamguy wants to merge 1 commit intofreeCodeCamp:mainfrom
spamguy:2671
Open

Disable programmatic scrolling for anchored entries#2672
spamguy wants to merge 1 commit intofreeCodeCamp:mainfrom
spamguy:2671

Conversation

@spamguy
Copy link
Copy Markdown
Contributor

@spamguy spamguy commented Apr 1, 2026

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 .

@spamguy spamguy requested a review from a team as a code owner April 1, 2026 20:07
@spamguy spamguy changed the title Disable scrolling for anchored entries Disable programmatic scrolling for anchored entries Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken Link Navigation in Nim and Nim 1

1 participant