Feature tagging with Shadow DOM

our applications are starting to use Shadow DOM the DOM is open and according to pendo documentation should be supported. For some reason we are having some inconsistent behavior with feature tag tracking. 


if I tag the element above the shadow sdf-button[aria-label=" Save as draft "] Sizzle finds the element. Pendo is not returning any events.  After inspecting the HTML after the sdf-button element if i expand the Shadow there is a div and the a Slot. But the text value for the button is outside the shadow slot.  When I use Pendo debugger click event is returning first element slot, div, then the sdf-button. 

My question is should I be targeting the slot? or shouldn't Pendo still return events if im targeting the sdf-button element with the unique aria-label outside the shadow 




Please sign in to leave a comment.

Didn't find what you were looking for?

New post