Skip to content

clicking the navbar’s hamburger icon to toggle the sidebar automatically scrolls the current page to the top #956

@0xcuriosity

Description

@0xcuriosity

Issue
When I click the hamburger icon on the navbar to open or close the sidebar, the page scrolls back to the top.

Steps to Reproduce
1. Navigate to any page.
2. Scroll down.
3. Click the hamburger icon on the navbar to toggle the sidebar.

Actual Behavior
The page scrolls to the top every time the sidebar is toggled.

Expected Behavior
The page should remain in its current scroll position when the sidebar is opened or closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions