ShadowRoot property is null despite open
问题 I'm trying to access the ShadowRoot on my element and the property element.shadowRoot is returning null . The ShadowDOM is defined as mode: 'open' , which is correct, I can even console.log(element) to see all of the properties and shadowRoot IS an object of ShadowRoot type. In my app I am trying to access the property like so: let el = document.getElementById('elementId'); ... console.log(el); console.log("this.shadowRoot = ???"); console.log(el.shadowRoot); Is this okay? Attached are the