To reproduce:
1. Content type A with a Tab-PG reference
2. Content Type B with multiple references of A as a stack

In CT A-1 the Tabs habe the keys 0,1,2,3 and so on, In CT A-2 they have the same keys.
If you reference them in CT B, then the Tab-links will trigger the keys in every referenced CT A, because they are the same.

Provide the paragraph-ID in the keys, so they are really unique to the paragraph.

For the tab link:
<a href="#{{ paragraph_id }}-{{ key }}"
same for the tab content key.

Thanks.

Comments

SoYeah created an issue. See original summary.

  • thejimbirch committed 6292e12 on 8.x-2.x
    Fixes #2874037: Tab-Keys are not unique - Adds paragraph_id to heading...
thejimbirch’s picture

Status: Active » Fixed
thejimbirch’s picture

Status: Fixed » Closed (fixed)

Closed in 8.x-2.0-alpha4. Thanks SoYeah!