From da57e59c42fd6ab37f52cdb585a5e06c86cf2703 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 22 Nov 2023 11:11:47 +0100 Subject: [PATCH] Display the "not allowed" cursor on disabled menu items --- packages/components/src/dropdown-menu-v2-ariakit/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/dropdown-menu-v2-ariakit/styles.ts b/packages/components/src/dropdown-menu-v2-ariakit/styles.ts index 36263a3dbf77b7..58e6c535ad20db 100644 --- a/packages/components/src/dropdown-menu-v2-ariakit/styles.ts +++ b/packages/components/src/dropdown-menu-v2-ariakit/styles.ts @@ -154,7 +154,7 @@ const baseItem = css` &[aria-disabled='true'] { color: ${ COLORS.ui.textDisabled }; - pointer-events: none; + cursor: not-allowed; } /* Hover */