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
document.body.contains(el) always returns false for elements inside the Shadow DOM. The fix is to use el.getRootNode({ composed: true }) === document instead.
document.body.contains(el)
always returnsfalse
for elements inside the Shadow DOM. The fix is to useel.getRootNode({ composed: true }) === document
instead.See open-wc/open-wc#2583
Do you accept a PR for this? If so, I can create one.
The text was updated successfully, but these errors were encountered: