clarity icon indicating copy to clipboard operation
clarity copied to clipboard

ShadowRootMode Elements Not Captured

Open PhoneDroid opened this issue 1 year ago • 1 comments

Elements using the shadowrootmode = closed
attribute arent't captured by Clarity.

Reproduction

Create an element with the shadowrootmode attribute:

<div class = Shadow-Container >
    <template shadowrootmode = closed >
        <div class = Shadow-Content >
            <p> Shadow </p>
        </div>
    </template>
</div>

Screenshots

Website: Image

Clarity: Image

PhoneDroid avatar Feb 04 '25 11:02 PhoneDroid

Hello @PhoneDroid, Please note that the closed mode mutations aren't accessible, Clarity only supports "open" shadow DOM nodes at the moment.

AbdelrhmanMagdy avatar Feb 18 '25 11:02 AbdelrhmanMagdy