Skip to content

Commit

Permalink
fix accordion e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Sep 25, 2024
1 parent 287f652 commit 585117a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export class PostAccordion {

@Listen('postToggle')
collapseToggleHandler(event: CustomEvent<boolean>) {
event.stopPropagation();

const toggledItem = event.target as HTMLElement;
const closestParentAccordion = toggledItem.closest('post-accordion');

Expand Down

0 comments on commit 585117a

Please sign in to comment.