Skip to content

Jumping to an anchor in a second or later tab doesn't update the tabber header #241

@alex4401

Description

@alex4401

Reproduction

  • Create a tabber with two or more tabs, and one of the later tabs contains an anchored element. Place a jump link to the anchor outside the tabber.
[[#Jump_target|Jump]]
<tabber>
Longer tab=
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br/>
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br/>
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br/>
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br/>
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br/>
|-|
Bug test tab=
Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<br/>
Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<br/>
Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<br/>
Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<br/>
Bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<br/>
<h3>Jump target</h3>
</tabber>
  • Make sure tab 1 is being viewed (default on page load). Click on the jump link.

What happens

Contents of the second tab become visible but the tabber header indicates the first tab is still open.

Image

What is expected to happen

Contents of the second tab become visible and the tabber header indicates that the second tab is open.

Additional information

  • Reproduced with TabberNeue 2.7.4 and 3.1.2 in Firefox 140 and Chrome 137.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions