Skip to content

[Bug]: V2 sidebar (doc outline) is not rendered immediately #2709

@jbroma

Description

@jbroma

Version

System:
    OS: macOS 15.6.1
    CPU: (12) arm64 Apple M4 Pro
    Memory: 1.15 GB / 48.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Safari: 18.6
  npmPackages:
    @rspress/core: 2.0.0-beta.32 => 2.0.0-beta.32

Details

When visiting the site built with Rspress V2, the sidebar is not rendered immediately which causes the other elements in the sidebar to jump. This also happens when refreshing the page

Reproduce link

https://re-pack.dev/docs/getting-started/quick-start

Reproduce Steps

  1. Go to https://re-pack.dev/docs/getting-started/quick-start
  2. Notice the sidebar jumping
  3. Refresh the page
  4. Notice the sidebar jumping again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions