Skip to content

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

Open
@foxtrotcz

Description

@foxtrotcz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedWaiting on an external taskDocumentationDocumentation needs updating

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions