KhronosGroup / KhronosGroup/Vulkan-Site
[BUG] Anchor links not jumping to actual caption
- 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:
But instead it points to this:
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
Assessment
This issue has not been assessed yet.