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 2f69691 commit e251d10Copy full SHA for e251d10
src/components/Tooltip/Tooltip.tsx
@@ -374,7 +374,7 @@ const Tooltip = ({
374
}
375
if (activeAnchor) {
376
;[...mutation.removedNodes].some((node) => {
377
- if (node.contains(activeAnchor)) {
+ if (node?.contains && node.contains(activeAnchor)) {
378
setRendered(false)
379
handleShow(false)
380
setActiveAnchor(null)
0 commit comments