Skip to content

Docs pages' On This Page / Table of Contents doesn't work correctly on Chromium-based browsers for certain pages #1480

Open
@TrialDragon

Description

@TrialDragon

The On This Page feature for docs' pages is supposed to follow the header whose content more or less the current focus of the page. However, on Chromium-based browsers this seems offset in the beginning and not working entirely correctly on certain pages.

Video on Firefox (where it works as intended):
https://github.com/bevyengine/bevy-website/assets/31419708/3c356c28-a3dd-437e-948a-0f2d9f286e06

Video on Chromium (where it seems wonky, at least in the beginning):
https://github.com/bevyengine/bevy-website/assets/31419708/e47a4ba1-50bf-404c-ac7e-e7365e148640

Pages noted as affected so far: https://bevyengine.org/learn/book/ecs/entities-components/, https://bevyengine.org/learn/quick-start/getting-started/, and https://bevyengine.org/learn/migration-guides/0-13-to-0-14/.

Edit: First noticed on Discord here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions