Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Anchor links dont work correctly on pages with colapsible content #1348

Open
foxtrotcz opened this issue Oct 31, 2024 · 0 comments
Open
Labels
Bug Confirmed to be a bug Documentation Documentation needs updating
Milestone

Comments

@foxtrotcz
Copy link

Hi,
when I open link with anchor on new tab it doesnt work correctly and shows wrong part of the page.
You can try opening these in new tab:
https://linuxcontainers.org/incus/docs/main/reference/instance_options/#cpu-limits
https://linuxcontainers.org/incus/docs/main/server_config/#cluster-configuration

This only happens on pages with collapsible content. I think browser somehow wrongly calculates where it should position window on the page. Maybe it treats all the collapsible content as open and thinks the page is longer then it really is?
Tried in both Chrome and Firefox.

@stgraber stgraber added Documentation Documentation needs updating Bug Confirmed to be a bug labels Nov 1, 2024
@stgraber stgraber added this to the soon milestone Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug Documentation Documentation needs updating
Development

No branches or pull requests

2 participants