Skip to content

[BUG] ToC doesn't display correct active header when clicked #2

@jesse-wei

Description

@jesse-wei

For example, this occurs when clicking "Overview of Hugo and PaperMod"

image

Likely related to the fixed navbar. Specifically, when you click the ToC heading, the website scrolls such that the content is visible and not covered by the fixed navbar. But it seems that the ToC calculates the active element using what's under the fixed navbar.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions