Skip to content

Commit

Permalink
fix(components): re-enable accordion chevron rotation (#3081)
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray authored May 14, 2024
1 parent 6c3de0c commit 4415fcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twelve-hornets-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed the `post-accordion-item` chevron no longer rotating.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class PostAccordionItem {

@Listen('postToggle')
onCollapseToggle(event: CustomEvent<boolean>): void {
if ((event.target as HTMLElement).localName === 'post-collapsible') {
if ((event.target as HTMLElement).localName === 'post-accordion-item') {
this.isOpen = event.detail;
}
}
Expand Down

0 comments on commit 4415fcd

Please sign in to comment.