From 1c659292e3a2e4e3eb65f6e6d040146a3e8c6892 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 15 Jan 2024 01:19:19 +0000 Subject: [PATCH] Fixed #5030 - Tooltip: Malfunction inside Links --- components/lib/utils/DomHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/utils/DomHandler.js b/components/lib/utils/DomHandler.js index 52253b169..fbf6fd368 100755 --- a/components/lib/utils/DomHandler.js +++ b/components/lib/utils/DomHandler.js @@ -395,7 +395,7 @@ export default { getParentNode(element) { let parent = element?.parentNode; - if (parent && parent.host) { + if (parent && parent instanceof ShadowRoot && parent.host) { parent = parent.host; }