1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +02:00

fix: tooltips not working after base element is also clicked (#9629)

This commit is contained in:
Jaanus Sellin 2025-03-31 08:59:08 +03:00 committed by GitHub
parent 398246c3ec
commit b55732d719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,5 +73,9 @@ export interface IHtmlTooltipProps extends TooltipProps {
export const HtmlTooltip = (props: IHtmlTooltipProps) => {
if (!props.title) return props.children;
return <StyledHtmlTooltip {...props}>{props.children}</StyledHtmlTooltip>;
return (
<StyledHtmlTooltip {...props} disableFocusListener>
{props.children}
</StyledHtmlTooltip>
);
};