From b9444d00b37219a82d55069a200c8b54690a4889 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 2 Mar 2024 01:27:01 -0800 Subject: [PATCH] Update Tooltip.svelte --- src/lib/components/common/Tooltip.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/common/Tooltip.svelte b/src/lib/components/common/Tooltip.svelte index 62ca4eb8..0eabdb6e 100644 --- a/src/lib/components/common/Tooltip.svelte +++ b/src/lib/components/common/Tooltip.svelte @@ -4,6 +4,7 @@ export let placement = 'top'; export let content = `I'm a tooltip!`; + export let touch = true; let tooltipElement; let tooltipInstance; @@ -15,7 +16,8 @@ tooltipInstance = tippy(tooltipElement, { content: content, placement: placement, - allowHTML: true + allowHTML: true, + touch: touch }); } }