diff --git a/src/components/Popover/Popover.tsx b/src/components/Popover/Popover.tsx index 54cdce470e..7b8e9e15cc 100644 --- a/src/components/Popover/Popover.tsx +++ b/src/components/Popover/Popover.tsx @@ -207,6 +207,7 @@ export const Popover = React.forwardRef { const handleClick = async (event: React.MouseEvent) => { - if (disabled) { + // Ignores click that should close tooltip in case of {openOnHover: true} + // to prevent situation when user could close tooltip accidentally + const shouldPreventClosingByClick = open && openOnHover; + + if (disabled || shouldPreventClosingByClick) { return; }