From 1c59ea4ac32b675260c5645bea9232cafa63353a Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Tue, 28 Sep 2021 18:08:48 +0300 Subject: [PATCH] Show Tooltip on mousemove (#225) Signed-off-by: Alexander Platov --- packages/ui/src/components/Tooltip.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/components/Tooltip.svelte b/packages/ui/src/components/Tooltip.svelte index e40e8ce813..cba9f01eb0 100644 --- a/packages/ui/src/components/Tooltip.svelte +++ b/packages/ui/src/components/Tooltip.svelte @@ -16,7 +16,7 @@
{ - showTooltip(label, triggerHTML, direction, component, props) + on:mousemove={() => { + if (!shown) showTooltip(label, triggerHTML, direction, component, props) }} >