You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In _append_childs() it seems that root.appendChild(child) removes the child from self.childNodes (I didn't test but it's probably the same in Javascript) ; if you remove it, the 5 child nodes are printed.
I think the problem can be solved by replacing for child in self.childNodes: by for child in list(self.childNodes):
Hi!
If
self._childs_root
is a shadow DOM, then only text nodes are returned when iterating overself.childNodes
. A default slot is missing on purpose.I tried the same with JavaScript in the developer console and it returns every node inside the web component. Is this a bug or am I missing something?
Thanks in advance!
The text was updated successfully, but these errors were encountered: