From 8f21cc8f24ce51f6c5b5a5fa0e33023e22faf145 Mon Sep 17 00:00:00 2001 From: Meridian Date: Wed, 6 Nov 2024 12:07:20 +0100 Subject: [PATCH 1/2] feat: allow collapsible to be individually expanded A collapsible can now be individually expanded, independent of its containing accordion. --- packages/components/src/components/accordion/accordion.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/components/accordion/accordion.tsx b/packages/components/src/components/accordion/accordion.tsx index 2c8d0d87a7..ea228f9fd0 100644 --- a/packages/components/src/components/accordion/accordion.tsx +++ b/packages/components/src/components/accordion/accordion.tsx @@ -66,7 +66,7 @@ export class Accordion { /** * Handle `expanded` */ - if (!this.dependent) { + if (this.expanded && !this.dependent) { this.getCollapsibleChildren().forEach((child) => { child.expanded = this.expanded; }); From 4de8c9efedac42ca03852b1a8d324d97a11e389d Mon Sep 17 00:00:00 2001 From: Amir Baghdoust Date: Thu, 24 Oct 2024 15:27:55 +0200 Subject: [PATCH 2/2] chore: trigger for github actions