From fa6eb3fa3d64ea4d9b18ae168c49745f49d5260e Mon Sep 17 00:00:00 2001 From: Grant Steffen Date: Fri, 9 Feb 2024 16:45:54 -0600 Subject: [PATCH] Don't trigger tooltip mouse over events for popovers --- src/layers/Tooltip/Tooltip.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/layers/Tooltip/Tooltip.tsx b/src/layers/Tooltip/Tooltip.tsx index a4695c5e..a83e50f7 100644 --- a/src/layers/Tooltip/Tooltip.tsx +++ b/src/layers/Tooltip/Tooltip.tsx @@ -207,10 +207,14 @@ export const Tooltip: FC> = ({ return ( { - clearTimeout(timeout.current); + if (!isPopover) { + clearTimeout(timeout.current); + } }} onMouseLeave={() => { - handleClose(); + if (!isPopover) { + handleClose(); + } }} className={classNames(css.tooltip, className)} initial={{