pull/5161/head
mertsincan 2024-01-25 12:35:35 +00:00
parent 9551857306
commit bd1015ddd5
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,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;
} }