Skip to content

Links on panel headings/titles stop working when used in accordion #109

Open
@graham-macleod

Description

@graham-macleod

When you include panels with titles on their own, the title links on the panel headings work as expected (the URL in the browser updates to include the anchor) but when included in an accordion these stop working. I would probably expect a URL with an anchor to open the accordion at that point (uncollapsed)

This works

<panel type="primary" title="first" no-body="true">
<panel-body>
stuff in here
</panel-body>
</panel>

<panel type="primary" title="second" no-body="true">
<panel-body>
more stuff
</panel-body>
</panel>

This does not

<accordion>
<panel type="primary" title="first" no-body="true">
<panel-body>
stuff in here
</panel-body>
</panel>

<panel type="primary" title="second" no-body="true">
<panel-body>
more stuff
</panel-body>
</panel>
</accordion>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions