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.
hidden
content
1 parent 4c5fc75 commit 497942cCopy full SHA for 497942c
src/components/Tooltip/Tooltip.tsx
@@ -710,9 +710,9 @@ const Tooltip = ({
710
}
711
}, [id, anchorSelect])
712
713
- const canShow = !hidden && content && show && Object.keys(inlineStyles).length > 0
+ const canShow = show && Object.keys(inlineStyles).length > 0
714
715
- return rendered ? (
+ return rendered && !hidden && content ? (
716
<WrapperElement
717
id={id}
718
role="tooltip"
0 commit comments