mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5146
This commit is contained in:
parent
9551857306
commit
bd1015ddd5
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ export default {
|
|||
getParentNode(element) {
|
||||
let parent = element?.parentNode;
|
||||
|
||||
if (parent && parent.host) {
|
||||
if (parent && parent instanceof ShadowRoot && parent.host) {
|
||||
parent = parent.host;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue