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
appendTo which is a query selector string doesn't work in Shadow DOM, as there's no way to select an element inside it just by a string, but a call to shadow host element's shadowRoot is required: document.querySelector("shadowHostSelector").shadowRoot.querySelector("appendToSelector").
If appendTo could receive HTMLElement reference directly, it would solve the issue.
appendTo
which is a query selector string doesn't work in Shadow DOM, as there's no way to select an element inside it just by a string, but a call to shadow host element's shadowRoot is required:document.querySelector("shadowHostSelector").shadowRoot.querySelector("appendToSelector").
If
appendTo
could receiveHTMLElement
reference directly, it would solve the issue.Here's a PR for that: #188
The text was updated successfully, but these errors were encountered: