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 (
<Tooltip label={text} {...tooltip} style={{ textWrap: "wrap" }}>
<Tooltip
label={text}
{...tooltip}
style={{ textWrap: "wrap" }}
events={{ hover: true, focus: false, touch: true }}
>
<div>{children}</div>
</Tooltip>
);

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

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

Loading…
Cancel
Save