getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
13 stars 5 forks source link

feat: Use JS to disable clicks in Replayer #54

Closed billyvg closed 1 year ago

billyvg commented 1 year ago

We turned pointer-events on in our client so that our users can use browser tools to "inspect" the dom. Without pointer-events, users hovering over elements in the replay would not reflect in the dev tools.

A side-effect of enabling pointer-events was that users would be able to click links in the Replay and end up breaking everything. e.g. "Looks like your Replayer was destroyed"

billyvg commented 1 year ago

Putting this on hold as I was testing it again on Sentry itself and it didn't seem to work

billyvg commented 1 year ago

OK tested this out again and it seems to work as expected (probably dumb npm link issue when I tested last time).