We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
title
li
1 parent 32a5e41 commit f9954b0Copy full SHA for f9954b0
packages/react/src/components/Menu/MenuItem.tsx
@@ -262,17 +262,15 @@ export const MenuItem = forwardRef<HTMLLIElement, MenuItemProps>(
262
onClick={handleClick}
263
onKeyDown={handleKeyDown}
264
onKeyUp={handleKeyUp}
265
+ title={label}
266
{...getReferenceProps()}>
267
<div className={`${prefix}--menu-item__selection-icon`}>
268
{rest['aria-checked'] && <Checkmark />}
269
</div>
270
<div className={`${prefix}--menu-item__icon`}>
271
{IconElement && <IconElement />}
272
- <Text
273
- as="div"
274
- className={`${prefix}--menu-item__label`}
275
- title={label}>
+ <Text as="div" className={`${prefix}--menu-item__label`}>
276
{label}
277
</Text>
278
{shortcut && !hasChildren && (
0 commit comments