KhronosGroup / KhronosGroup/Vulkan-Site

[BUG] Anchor links not jumping to actual caption

Open
#150 7 comments 0 reactions 1 assignee Claimed by @oddhack View on GitHub
antora CSS navigation
Dominant language
JavaScript
Stars
46
Forks
10
Avg merge
12d 2h
Merged PRs (30d)
6

Description

Recently noticed that when you open a link with an anchor to a specific chapter in page, the site does not jump to the actual caption, but somewhere a bit below. Applies to both links you explicitly open in your browser via the url bar and all links in the docs site that point to anchors.

Example: https://docs.vulkan.org/spec/latest/chapters/resources.html#resources-image-views

Opening that link should look like this:

Image

But instead it points to this:

Image

Clicking the link in the right hand navigation points you to the right place.

Kinda hard to describe with text and screenshots, so here is a video:

https://github.com/user-attachments/assets/c7cdcfb6-ba03-4788-803f-19ca1602bbdf

Tested in Chrome and Firefox, both exhibit this problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.