We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7c1fa commit cd92e8cCopy full SHA for cd92e8c
components/accordion/accordion.ts
@@ -51,6 +51,13 @@ export class SuiAccordion implements AfterContentInit {
51
}
52
53
ngAfterContentInit() {
54
+ this.updatePanels();
55
+
56
+ // Reconnect panels after they have updated.
57
+ this.panels.changes.subscribe(() => setTimeout(() => this.updatePanels()));
58
+ }
59
60
+ public updatePanels() {
61
this.panels.forEach(p => this._service.addPanel(p));
62
63
0 commit comments