mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #5030 - Tooltip: Malfunction inside Links
This commit is contained in:
parent
1fcefea636
commit
1c659292e3
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ export default {
|
||||||
getParentNode(element) {
|
getParentNode(element) {
|
||||||
let parent = element?.parentNode;
|
let parent = element?.parentNode;
|
||||||
|
|
||||||
if (parent && parent.host) {
|
if (parent && parent instanceof ShadowRoot && parent.host) {
|
||||||
parent = parent.host;
|
parent = parent.host;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue