Skip to content

Broken fragment links on the website on Safari #8101

@dvd101x

Description

@dvd101x

Description

Hi, I was trying to follow the install instructions on the website and found that the fragment links are not working properly in Safari in macOS, iOS and iPadOS. When clicked they show the top of the website.

It's very inconvenient as one gets even further away from the link one is supposed to follow, it's better to scroll until the desired section is in view, but then if another fragment link is clicked it goes again to the top of the website.

In Firefox and Chrome the fragment links points approximately one paragraph above where they are supposed to but the appropriate section is in view.

You can reproduce the issue by opening in Safari for MacOS, iOS and iPadOS.
https://stdlib.io/docs/api/latest#install_command_line_utility
https://stdlib.io/docs/api/latest#install_individual_packages

It works fine from the GitHub readme in all previously described cases.
https://github.com/stdlib-js/stdlib?tab=readme-ov-file#install_command_line_utility
https://github.com/stdlib-js/stdlib?tab=readme-ov-file#install_individual_packages

Related Issues

Related issues # , # , and # .

Questions

No.

Demo

No response

Reproduction

You can reproduce the issue by opening in Safari for MacOS, iOS and iPadOS.
https://stdlib.io/docs/api/latest#install_command_line_utility
https://stdlib.io/docs/api/latest#install_individual_packages

Expected Results

Show the section

Actual Results

Goes back to the top of the page

Version

No response

Environments

Safari

Browser Version

No response

Node.js / npm Version

No response

Platform

No response

Checklist

  • Read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working.WebsiteIssue concerning the project website.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions