Skip to content

Commit 51808da

Browse files
fix(accordion): fix isOpenChangeevent (#6254)
1 parent c0beddb commit 51808da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/accordion/accordion-group.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export class AccordionPanelComponent implements OnInit, OnDestroy {
5050
this.accordion.closeOtherPanels(this);
5151
}
5252
this._isOpen = value;
53-
(async () => {
54-
await Promise.resolve();
53+
Promise.resolve(null)
54+
.then(() => {
5555
this.isOpenChange.emit(value);
5656
});
5757
}

0 commit comments

Comments
 (0)