Skip to content

Commit

Permalink
fix: remove title attribute from dropdown item label (#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflips authored Jan 16, 2025
1 parent 9488dd3 commit 404bc02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sage-react/lib/Dropdown/DropdownItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const DropdownItem = ({
/>
<>
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
<span className="sage-dropdown__item-label" title={label}>
<span className="sage-dropdown__item-label">
{label}
</span>
</>
Expand All @@ -143,7 +143,7 @@ export const DropdownItem = ({
{(!customComponent && isLabelVisible) && (
<>
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
<span className="sage-dropdown__item-label" title={label}>
<span className="sage-dropdown__item-label">
{label}
</span>
</>
Expand All @@ -165,7 +165,7 @@ export const DropdownItem = ({
{(!customComponent && isLabelVisible) && (
<>
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
<span className="sage-dropdown__item-label" title={label}>
<span className="sage-dropdown__item-label">
{label}
</span>
</>
Expand Down

0 comments on commit 404bc02

Please sign in to comment.