From 94eecbc7bc65fd2ede056b830cece783144921b7 Mon Sep 17 00:00:00 2001 From: jmfrancois Date: Fri, 13 Oct 2023 09:48:01 +0200 Subject: [PATCH] fix: dropdown caret rotation --- packages/design-system/src/components/Dropdown/Dropdown.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/design-system/src/components/Dropdown/Dropdown.tsx b/packages/design-system/src/components/Dropdown/Dropdown.tsx index 431cbbfe6a5..a05ca6262e4 100644 --- a/packages/design-system/src/components/Dropdown/Dropdown.tsx +++ b/packages/design-system/src/components/Dropdown/Dropdown.tsx @@ -87,6 +87,7 @@ export const Dropdown = ({ 'aria-pressed': `${isOpen}`, 'data-testid': menuButtonTestId, 'data-test': menuButtonTest, + 'aria-expanded': `${isOpen}`, ref: floating.refs.setReference, ...getReferenceProps(), })}