diff --git a/packages/components/src/dropdown-menu-v2-ariakit/index.tsx b/packages/components/src/dropdown-menu-v2-ariakit/index.tsx index aac8a8844f6ed6..b3e0557b441f85 100644 --- a/packages/components/src/dropdown-menu-v2-ariakit/index.tsx +++ b/packages/components/src/dropdown-menu-v2-ariakit/index.tsx @@ -54,6 +54,7 @@ export const DropdownMenuItem = forwardRef< @@ -87,6 +88,7 @@ export const DropdownMenuCheckboxItem = forwardRef< @@ -131,6 +133,7 @@ export const DropdownMenuRadioItem = forwardRef< diff --git a/packages/components/src/dropdown-menu-v2-ariakit/styles.ts b/packages/components/src/dropdown-menu-v2-ariakit/styles.ts index 55d8ab5a40de91..36263a3dbf77b7 100644 --- a/packages/components/src/dropdown-menu-v2-ariakit/styles.ts +++ b/packages/components/src/dropdown-menu-v2-ariakit/styles.ts @@ -158,7 +158,9 @@ const baseItem = css` } /* Hover */ - &[data-active-item]:not( [data-focus-visible] ) { + &[data-active-item]:not( [data-focus-visible] ):not( + [aria-disabled='true'] + ) { background-color: ${ COLORS.theme.accent }; color: ${ COLORS.white }; }