Skip to content

🐛 Bug: The SideBar is not conserving it's state when we are refreshing the page #2192

@Siddhartha20242

Description

@Siddhartha20242

Describe the bug

Currently, when we are going to the specificiation, docs page it's prioritizing the sidebar title by default which is doing well. The problem comes when we try to click one title at the sidebar on the tools page for example, which opens the accordion nicely but when we refresh the page it's state does not remains as it was before we did the refresh.

Steps To Reproduce

  1. Go to the tools page in jsonaschema website.
  2. Click the Language sidebar.
  3. Then refresh the page.

Expected Behavior

If we are using the sidebar and we already clicked at one option like Language in the tools when we refresh the page it should automatically open that.

Screenshots

Device Information [optional]

- OS:
- Browser:
- version:

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is the initial status for an issue that requires triage.🐛 BugIndicates that the issue is a bug or defect.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions