Skip to content

[Bug]: Top-level hash links in right-sidebar Table of Contents are broken #8

@oliverstreissi

Description

@oliverstreissi

Description

I noticed that anchor/hash links in the right-hand side menu (Table of Contents) are not functioning correctly on documentation pages. Specifically, the top-level items do not scroll to the correct section when clicked, but sometimes also others.

Steps to Reproduce

Navigate to the documentation page: Subscription Entitlements Recipe

Locate the "On this page" menu (right sidebar).

Click on a top-level link, for example: Step 2: Develop PostgreSQL functions for entitlements.

Specific Broken Anchor: ...#step-2--develop-postgresql-functions-for-entitlements

Expected ### Behavior
Clicking the link in the sidebar should scroll the viewport directly to the corresponding header on the page.

Actual ### Behavior
The URL updates with the hash, but the page does not scroll to the target section (or the link is effectively dead).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions