Fixed missing mobile tooltips

pull/2786/head v1.4.6-beta.26
Anderson Shindy Oki 1 month ago
parent f4ca0f9e55
commit 137d61930d

@ -18,7 +18,12 @@ const TextPopover: FunctionComponent<TextPopoverProps> = ({
} }
return ( return (
<Tooltip label={text} {...tooltip} style={{ textWrap: "wrap" }}> <Tooltip
label={text}
{...tooltip}
style={{ textWrap: "wrap" }}
events={{ hover: true, focus: false, touch: true }}
>
<div>{children}</div> <div>{children}</div>
</Tooltip> </Tooltip>
); );

@ -65,7 +65,12 @@ const HistoryIcon: FunctionComponent<{
if (icon) { if (icon) {
return ( return (
<Tooltip label={label} openDelay={500} position="right"> <Tooltip
label={label}
openDelay={500}
position="right"
events={{ hover: true, focus: false, touch: true }}
>
<FontAwesomeIcon <FontAwesomeIcon
aria-label={label} aria-label={label}
title={title} title={title}

@ -62,6 +62,7 @@ const ItemOverview: FunctionComponent<Props> = (props) => {
label={item.path} label={item.path}
multiline multiline
style={{ overflowWrap: "anywhere" }} style={{ overflowWrap: "anywhere" }}
events={{ hover: true, focus: false, touch: true }}
> >
<span>{item.path}</span> <span>{item.path}</span>
</Tooltip> </Tooltip>

Loading…
Cancel
Save