From a91c77b6d2f3956d5efafacf59420c16f7314a32 Mon Sep 17 00:00:00 2001 From: HendrikThePendric Date: Mon, 25 Nov 2024 17:54:38 +0100 Subject: [PATCH] fix: remove active style from menu item with tabIndex 0 --- components/menu/src/menu-item/menu-item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/menu/src/menu-item/menu-item.js b/components/menu/src/menu-item/menu-item.js index c5ca57385..76ca1245d 100644 --- a/components/menu/src/menu-item/menu-item.js +++ b/components/menu/src/menu-item/menu-item.js @@ -104,7 +104,7 @@ const MenuItem = ({ destructive, disabled, dense, - active: active || showSubMenu || tabIndex === 0, + active: active || showSubMenu, 'with-chevron': children || chevron, })} ref={menuItemRef}