nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

Selected article in sidebar doesn’t scroll into view

Open efekrskl opened this issue 2 months ago • 3 comments

Enter your suggestions in details:

In the Learn section sidebar, the currently selected article (highlighted in the list) should automatically scroll into view when navigating between pages

Right now, when you open or switch to a new article, the sidebar doesn't adjust (it actually resets). We have plenty of articles, and it is really hard to navigate the page like this.

I think the Rust Book's sidebar behaviour could be a good example

Steps to reproduce:

  • Navigate to an article that is deep down in the sidebar (e.g https://nodejs.org/en/learn/diagnostics/memory)
  • Sidebar reset back to the top

See:

Image

efekrskl avatar Nov 07 '25 08:11 efekrskl

i cannot recreate this with a quick attempt - do you have steps to reproduce?

bmuenzenmeyer avatar Nov 07 '25 11:11 bmuenzenmeyer

i cannot recreate this with a quick attempt - do you have steps to reproduce?

  • Navigate to an article that is deep down in the sidebar (e.g https://nodejs.org/en/learn/diagnostics/memory)
  • Sidebar reset back to the top

See:

Image

efekrskl avatar Nov 07 '25 12:11 efekrskl

+1, very poor UX. Im on mac with firefox.

ajunx8 avatar Nov 11 '25 13:11 ajunx8

This was working at some point but now is broken... Which sucks.

ovflowd avatar Dec 23 '25 13:12 ovflowd