diff --git a/.changeset/twelve-hornets-crash.md b/.changeset/twelve-hornets-crash.md new file mode 100644 index 0000000000..0c22b70df7 --- /dev/null +++ b/.changeset/twelve-hornets-crash.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-components': patch +--- + +Fixed the `post-accordion-item` chevron no longer rotating. diff --git a/packages/components/src/components/post-accordion-item/post-accordion-item.tsx b/packages/components/src/components/post-accordion-item/post-accordion-item.tsx index 1a7d913a80..7947d8c9ca 100644 --- a/packages/components/src/components/post-accordion-item/post-accordion-item.tsx +++ b/packages/components/src/components/post-accordion-item/post-accordion-item.tsx @@ -51,7 +51,7 @@ export class PostAccordionItem { @Listen('postToggle') onCollapseToggle(event: CustomEvent): void { - if ((event.target as HTMLElement).localName === 'post-collapsible') { + if ((event.target as HTMLElement).localName === 'post-accordion-item') { this.isOpen = event.detail; } }