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
if(container.id==='headlessui-portal-root')continue// Skip the Headless UI portal root
45
45
if(container.contains(dom(mainTreeNodeRef)))continue// Skip if it is the main app
46
+
if(container.contains((dom(mainTreeNodeRef)?.getRootNode()asShadowRoot)?.host))continue// Skip if it is the main app (and the component is inside a shadow root)
46
47
if(containers.some((defaultContainer)=>container.contains(defaultContainer)))continue// Skip if the current container is part of a container we've already seen (e.g.: default container / portal)
0 commit comments