Skip to content

Commit 404bc02

Browse files
authored
fix: remove title attribute from dropdown item label (#2039)
1 parent 9488dd3 commit 404bc02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/sage-react/lib/Dropdown/DropdownItem.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const DropdownItem = ({
119119
/>
120120
<>
121121
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
122-
<span className="sage-dropdown__item-label" title={label}>
122+
<span className="sage-dropdown__item-label">
123123
{label}
124124
</span>
125125
</>
@@ -143,7 +143,7 @@ export const DropdownItem = ({
143143
{(!customComponent && isLabelVisible) && (
144144
<>
145145
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
146-
<span className="sage-dropdown__item-label" title={label}>
146+
<span className="sage-dropdown__item-label">
147147
{label}
148148
</span>
149149
</>
@@ -165,7 +165,7 @@ export const DropdownItem = ({
165165
{(!customComponent && isLabelVisible) && (
166166
<>
167167
{icon && (<pds-icon class={`sage-dropdown__item-icon ${SageClassnames.SPACERS.XS_RIGHT}`} name={icon} />)}
168-
<span className="sage-dropdown__item-label" title={label}>
168+
<span className="sage-dropdown__item-label">
169169
{label}
170170
</span>
171171
</>

0 commit comments

Comments
 (0)