Skip to content

Commit

Permalink
Merge pull request #22246 from cubuspl42/fix-tooltip-long-name-1
Browse files Browse the repository at this point in the history
UserDetailsTooltip: Pass renderTooltipContentKey to Tooltip
  • Loading branch information
danieldoglas authored Jul 6, 2023
2 parents 41bb94c + 3f85450 commit afaf337
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/UserDetailsTooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ function UserDetailsTooltip(props) {
return props.children;
}

return <Tooltip renderTooltipContent={renderTooltipContent}>{props.children}</Tooltip>;
return (
<Tooltip
renderTooltipContent={renderTooltipContent}
renderTooltipContentKey={[userDisplayName, userLogin]}
>
{props.children}
</Tooltip>
);
}

UserDetailsTooltip.propTypes = propTypes;
Expand Down

0 comments on commit afaf337

Please sign in to comment.