Skip to content

[UX] Preserve sidebar scroll position after navigation #7911

Description

@Sbragul26

Current Behavior

In this page, when a page is opened from the sidebar (for example, Components → RadioGroup), the sidebar automatically scrolls back to the top. Users need to scroll down again to continue browsing.

Expected Behavior

The sidebar should keep its current scroll position after a page is opened, so users can continue browsing without scrolling down again.

Screenshots/Logs

layer5_issue.mp4

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions