aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-12-09 09:06:38 +0900
committerAnderson Shindy Oki <[email protected]>2024-12-09 09:06:38 +0900
commit137d61930d6d570515b5d3a4149c19f6206b6aea (patch)
treead027492b7b054d3d1500017c8687216e51fa960 /frontend/src
parentf4ca0f9e5586b9b84f137c102e4b1c577b883da8 (diff)
downloadbazarr-137d61930d6d570515b5d3a4149c19f6206b6aea.tar.gz
bazarr-137d61930d6d570515b5d3a4149c19f6206b6aea.zip
Fixed missing mobile tooltipsv1.4.6-beta.26
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/components/TextPopover.tsx7
-rw-r--r--frontend/src/components/bazarr/HistoryIcon.tsx7
-rw-r--r--frontend/src/pages/views/ItemOverview.tsx1
3 files changed, 13 insertions, 2 deletions
diff --git a/frontend/src/components/TextPopover.tsx b/frontend/src/components/TextPopover.tsx
index 6eeb05835..3649e0453 100644
--- a/frontend/src/components/TextPopover.tsx
+++ b/frontend/src/components/TextPopover.tsx
@@ -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>
);
diff --git a/frontend/src/components/bazarr/HistoryIcon.tsx b/frontend/src/components/bazarr/HistoryIcon.tsx
index add0cd1fd..5ab82ed05 100644
--- a/frontend/src/components/bazarr/HistoryIcon.tsx
+++ b/frontend/src/components/bazarr/HistoryIcon.tsx
@@ -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}
diff --git a/frontend/src/pages/views/ItemOverview.tsx b/frontend/src/pages/views/ItemOverview.tsx
index d611d5a85..9821d10a7 100644
--- a/frontend/src/pages/views/ItemOverview.tsx
+++ b/frontend/src/pages/views/ItemOverview.tsx
@@ -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>