Description of the issue
I meant for both slot="pfe-jump-links-nav--heading" and slot="heading" to work on pfe-jump-links-nav but apparently only slot="header" is working at the moment. On line 148, this.getSlot(["heading", "pfe-jump-links-nav--heading"])[0]; should capture both.
Impacted component(s)
Steps to reproduce
Doesn't work
- Create a
pfe-jump-links-nav, add <h3 slot="pfe-jump-links-nav--heading>Foo</h3>.
- Validate that it does not show up in the header, instead it will say "Jump to section".
Does work
- Create a
pfe-jump-links-nav, add <h3 slot="heading>Foo</h3>.
- Validate that "Foo" shows up in the header.
Description of the issue
I meant for both
slot="pfe-jump-links-nav--heading"andslot="heading"to work on pfe-jump-links-nav but apparently onlyslot="header"is working at the moment. On line 148,this.getSlot(["heading", "pfe-jump-links-nav--heading"])[0];should capture both.Impacted component(s)
Steps to reproduce
Doesn't work
pfe-jump-links-nav, add<h3 slot="pfe-jump-links-nav--heading>Foo</h3>.Does work
pfe-jump-links-nav, add<h3 slot="heading>Foo</h3>.