From 293f76171eaa24041ab74bdae9e0cc01c8c41da4 Mon Sep 17 00:00:00 2001 From: shim-flounce <121665773+shim-flounce@users.noreply.github.com> Date: Wed, 15 Feb 2023 15:06:19 +0000 Subject: [PATCH] [core] fix(Collapse): fix `aria-hidden` This fixes regression introduced in #5926 where if `keepChildrenMounted` is set, `aria-hidden` no longer updates correctly. --- packages/core/src/components/collapse/collapse.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/collapse/collapse.tsx b/packages/core/src/components/collapse/collapse.tsx index 4023d1da85..e9b82dc5e2 100644 --- a/packages/core/src/components/collapse/collapse.tsx +++ b/packages/core/src/components/collapse/collapse.tsx @@ -208,7 +208,7 @@ export class Collapse extends AbstractPureComponent2 {shouldRenderChildren ? this.props.children : null} ,