Skip to content

Toggle primary sidebar button pops out that sidebar instead of collapsing it #865

@stevepiercy

Description

@stevepiercy

The PyData Sphinx Theme has changed their sidebar functionality to make it a modal pop-up for accessibility purposes. As a result, clicking the "toggle sidebar" button on wide-screens in this theme does not cause the sidebar to disappear, and instead makes it "pop" similar to what happens on mobile.

Here's the upstream issue:

Here's a suggested path forward

Original content

the following is the original post from @stevepiercy
On the Set up your development workflow, I did the following steps, skipping the sections in between these two.

When I click the Toggle primary sidebar button, the primary sidebar pops out and does not collapse.

Before clicking

Screenshot 2024-11-11 at 8 41 44 PM

After clicking

Screenshot 2024-11-11 at 8 41 33 PM

When I last tried this in mid-April 2024, this did not happen.

My theme depends on SBT, so I am very motivated to work on this issue. However I would like someone else to verify whether it is reproducible or just me before I spend time on it.

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