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.
1 parent 1b5efe3 commit 2524a25Copy full SHA for 2524a25
src/avatar/internal.tsx
@@ -104,13 +104,7 @@ export default function InternalAvatar({
104
{...tooltipAttributes}
105
style={{ [customCssProps.avatarSize]: `${computedSize}px`, ...getRootStyles(style) }}
106
>
107
- {showTooltip && tooltipText && (
108
- <Tooltip
109
- className={styles.tooltip}
110
- value={tooltipText}
111
- trackRef={handleRef}}
112
- />
113
- )}
+ {showTooltip && tooltipText && <Tooltip className={styles.tooltip} value={tooltipText} trackRef={handleRef} />}
114
115
{/* aria-hidden is added so that screen readers focus only the parent div */}
116
{/* when it is not hidden, it becomes unstable in JAWS */}
0 commit comments