Open zqianem opened 5 months ago
When navigating the page with the outline, the outline marker does not move to the correct item when the target header is close to the end of the page but not the last item.
Visit https://vitepress.dev/reference/runtime-api and try to click on "$frontmatter" in the right-side outline.
The outline marker moves next to "$frontmatter" instead of "$params".
A browser with a minimum size of 1280px x 974px (width x height)
No response
Possibly a duplicate of #3449
Describe the bug
When navigating the page with the outline, the outline marker does not move to the correct item when the target header is close to the end of the page but not the last item.
Reproduction
Visit https://vitepress.dev/reference/runtime-api and try to click on "$frontmatter" in the right-side outline.
Expected behavior
The outline marker moves next to "$frontmatter" instead of "$params".
System Info
Additional context
No response
Validations