Skip to content

Conversation

@Botato300
Copy link

This PR improves the user experience of the navigation sidebar in the documentation.

Previously, clicking on a module in the sidebar would navigate to its page, but the sidebar
scroll would reset to the top. Now, the sidebar automatically scrolls to keep the selected
module in view, making it easier to navigate between modules without having to scroll manually!

In case it's not clear, here's an example: if you clicked on the “Web Crypto” module, it took you to
its page, but the sidebar scroll returned to the top. Then, to access the next module, “Web Stream”,
you had to manually scroll to its position in the sidebar.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/nodejs-website

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Oct 25, 2025
@AugustinMauroy
Copy link
Member

Cloud you furnish preview (screenshot) of your changes ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants