From 5bb94cc4c515bbab5b44b43a82dca42368671219 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Wed, 20 May 2026 12:15:31 +0000
Subject: fix(tooltip): suppress hover tooltips on coarse-pointer devices

---
 src/lib/Tooltip/LinkedTooltip.svelte | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/lib/Tooltip/LinkedTooltip.svelte')

diff --git a/src/lib/Tooltip/LinkedTooltip.svelte b/src/lib/Tooltip/LinkedTooltip.svelte
index 2a7961f5..4776322d 100644
--- a/src/lib/Tooltip/LinkedTooltip.svelte
+++ b/src/lib/Tooltip/LinkedTooltip.svelte
@@ -217,6 +217,7 @@ const hideTooltip = () => {
 
 const handleMouseEnter = (event: MouseEvent) => {
 	if (disable) return;
+	if (window.matchMedia("(pointer: coarse)").matches) return;
 
 	if (hideTimeout !== null) {
 		clearTimeout(hideTimeout);
-- 
cgit v1.2.3

