Skip to content

Anchor links highlight wrong heading in TOC nav #291

@PhilReedData

Description

@PhilReedData

In my test SEEK docs site, I have some anchor links in the sidebar navigation, for example, from the homepage, expand the 'Assets' sidebar menu and click 'SOPs'. On the next page, the right-side TOC menu has 'Publications' highlighted, which is a different heading to the one selected. The address bar shows the correct URL (in this case, # sops).
image

It works fine with 'Activities' then 'Events'. It does not work with 'General attributes and links' then 'Sharing', which points instead to 'Publishing' on the TOC most of the time. It works fine if you're already on the parent page.
image

(I am trying to reduce the amount of these anchor links and duplicated links.)

I think this is a bug in the recent TOC code. I'm using ETT remote version 3.2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions