Skip to content

Commit

Permalink
fix: remove active style from menu item with tabIndex 0
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Nov 25, 2024
1 parent ce4d3ae commit a91c77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/src/menu-item/menu-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const MenuItem = ({
destructive,
disabled,
dense,
active: active || showSubMenu || tabIndex === 0,
active: active || showSubMenu,
'with-chevron': children || chevron,
})}
ref={menuItemRef}
Expand Down

0 comments on commit a91c77b

Please sign in to comment.