We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 985e1d4 commit 7b83b18Copy full SHA for 7b83b18
src/components/Tooltip/Tooltip.tsx
@@ -489,7 +489,8 @@ const Tooltip = ({
489
const handleClickCloseTooltipAnchor = (event?: Event) => {
490
if (!show || event?.target !== activeAnchor) {
491
/**
492
- * same reasoning as above, opposite logic.
+ * ignore clicking the anchor that was NOT used to open the tooltip.
493
+ * this avoids closing the tooltip when clicking on a new anchor with the tooltip already open.
494
*/
495
return
496
}
0 commit comments