Skip to content

Make sidenav selection stick #234

@wajihaparvez

Description

@wajihaparvez

Describe the bug

When selecting a page in the sidenav that's only visible after scrolling, once the page opens, the sidenav resets back to the top. This means users have to scroll back down to see the section they're in/open the next page in the section. Constant scrolling could get frustrating, especially since all the H1s are expanded.

Image

Expected behavior

When the selected page opens, the sidenav should stick to the selected section. See example from old docs:

Image

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions