Skip to content

Sidebar State Affects Auto-Hiding Behavior of Menu Bar #2642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
WantenMN opened this issue Apr 5, 2025 · 0 comments
Open

Sidebar State Affects Auto-Hiding Behavior of Menu Bar #2642

WantenMN opened this issue Apr 5, 2025 · 0 comments
Labels
A-UI Area: UI/UX of generated pages E-Help-wanted Experience: Help Needed

Comments

@WantenMN
Copy link

WantenMN commented Apr 5, 2025

Description

In the documentation generated by mdBook, the auto-hiding behavior of the top Menu Bar is inconsistent depending on the Sidebar's state during page refresh. This issue is noticeable on long pages, such as the Backends page.

Steps to Reproduce

  1. Scenario 1: Refresh Page with Sidebar Closed

    • Open a sufficiently long page, e.g., https://rust-lang.github.io/mdBook/for_developers/backends.html
    • Ensure the Sidebar is closed (click the button to collapse the Sidebar).
    • Refresh the page.
    • Scroll down the page; the top Menu Bar auto-hides.
    • Open the Sidebar.
    • Continue scrolling down; the Menu Bar still hides with scrolling.
  2. Scenario 2: Refresh Page with Sidebar Open

@ehuss ehuss added E-Help-wanted Experience: Help Needed A-UI Area: UI/UX of generated pages labels Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Area: UI/UX of generated pages E-Help-wanted Experience: Help Needed
Projects
None yet
Development

No branches or pull requests

2 participants