Skip to content

Make NavBar Re-appear on Upward Scroll #8699

Description

@constb

Enter your suggestions in details:

While reading a docs page, I decided to switch to the dark mode. But the mode button is not in the right section, it's in the navigation and navigation is hidden unless I scroll to the very top of the page, loosing the position I was reading at.

One possible solution would be to move mode switch to the right section (where ToC is). Another is to make navigation reappear whenever user starts scrolling upwards.

Other options to improve mode switching that come to mind are:

  1. Add the "system" mode option that follows the light/dark OS setting, like the one is MacOS.
  2. Add a hotkey to switch mode.

Activity

  1. avivkeller commented on Mar 5, 2026

    @avivkeller
    Member

    One possible solution would be to move mode switch to the right section (where ToC is). Another is to make navigation reappear whenever user starts scrolling upwards.

    +1

  2. transferred this issue fromnodejs/doc-kiton Mar 5, 2026
  3. changed the title [-]Usability issue: switching light/dark mode requires scrolling back to the top of the page[/-] [+]Make NavBar Re-appear on Upward Scroll[/+] on Mar 5, 2026
  4. codebyanas commented on Sep 9, 2026

    @codebyanas

    Hi @avivkeller,

    I noticed that PR #8808 was closed. I would like to work on issue #8699 and implement the scroll-up-to-reveal navigation bar functionality.

    Could you please assign this issue to me?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions