huggingface / huggingface/doc-builder
[Safari] Clicking on nav links for H3 components in right side bar doesn't scroll to the component
- Dominant language
- Python
- Stars
- 144
- Forks
- 59
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Description
This happens in Safari, but not Chrome. Visiting [this page](https://huggingface.co/docs/api-inference/detailed_parameters#text-generation-task) and clicking on "Fill Mask task" in the right navigation will scroll to the right element, but clicking on any of the other items in the list will make the browser scroll to the top of the page.

However, visiting a URL that links directly to one of those elements works fine, e.g. with [Text Generation task](https://huggingface.co/docs/api-inference/detailed_parameters#text-generation-task). The buggy behaviour exists in the hub-docs as well (https://huggingface.co/docs/hub/models-cards, https://huggingface.co/docs/hub/repositories-getting-started#uploading-a-file), which is why I thought it might be a doc-builder issue.
Exists in:
* Safari Version 15.5 (17613.2.7.1.8)
* Safari Tech Preview Release 147 (Safari 16.0, WebKit 17614.1.14.10.16)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.