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 ?

@Botato300
Copy link
Author

Cloud you furnish preview (screenshot) of your changes ?

I'm sorry, but I didn't understand your question. What do you mean by “Cloud”?

@ovflowd
Copy link
Member

ovflowd commented Oct 28, 2025

I think Augustin meant if you could provide screenshots of your changes (how it looks before and after)

@AugustinMauroy
Copy link
Member

yeah claudio had right typo from my side 😅

@Botato300
Copy link
Author

I think Augustin meant if you could provide screenshots of your changes (how it looks before and after)

yeah claudio had right typo from my side 😅

Oh, now I understand, of course. Here are two videos:

Before:

before.mp4

After:

after.mp4

@Luisangelgarciahernandez975-prog
Copy link

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT !

Copy link
Contributor

@bmuenzenmeyer bmuenzenmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

6 participants