Skip to content

Bug: Clicks on blocked(?)/svg elements do not contain node information #7659

@billyvg

Description

@billyvg

Here's an example replay: https://sentry.sentry.io/replays/javascript:7e4dbf7600bf4768a14ef2ede665fe92/?project=11276&query=&referrer=%2Freplays%2F&statsPeriod=14d&t_main=dom&yAxis=count%28%29 and here is the crumb data it produces:

Image

I think if the node is not serialized, we should lookup its parent.

Another aspect of this ticket is that we sometimes are capturing the leaf node which is not necessarily the most user friendly in regards to search for clicks. This could be the difference between target and currentTarget in the click event? This happens with svgs/images.

Metadata

Metadata

Assignees

Labels

Package: replayIssues related to the Sentry Replay SDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions