Skip to content

Sidebar scrolls under navbar on direct visit #360

@notAreYouScared

Description

@notAreYouScared

image

This happens with both search-bar enabled and disabled.

The issue appears only when you navigate directly to the API page

Recreatable on every website under Who is using Redocusaurus?

Steps to reproduce.

  1. Navigate to https://redocusaurus.vercel.app/docs
  2. Navigate from /doc to /examples/using-single-yaml/ using navbar, No issue works as expected when navigating to API from a navbar item
  3. Reload /examples/using-single-yaml/, scroll, observe issue on sidebar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions