sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Replay: Dead click false positive

Open bruno-garcia opened this issue 1 year ago • 4 comments

Clicking on a 'drop down' causes it to show but is detected as false positive: image

Example replay link.

SDK version: 7.85.0

bruno-garcia avatar Dec 05 '23 19:12 bruno-garcia

Theory: The dropdown is triggered on e.g. mousedown or something like this - some event that is triggered before click. So when we register the click, the mutation already happened, and we think it was a slow click. But this needs to be verified.

mydea avatar Feb 05 '24 15:02 mydea

@mydea @billyvg

Another example: https://sentry.sentry.io/replays/16bd6831e6db4ad4af1dced78793347b/?project=11276&query=dead.selector%3A%22button.en302zp1.app-h1yvkq.e16hd6vm2%5Brole%3D%5C%22button%5C%22%5D%5Baria-label%3D%5C%22%5C%22%5D%5Bdata-test-id%3D%5C%22page-filter-timerange-selector%5C%22%5D%5Balt%3D%5C%22%5C%22%5D%5Btitle%3D%5C%22%5C%22%5D%22&referrer=%2Freplays%2F&statsPeriod=30d&t_main=breadcrumbs&yAxis=count%28%29

We can start looking into this one to confirm the theory?

jas-kas avatar Feb 05 '24 16:02 jas-kas

Approaches to resolve this:

  • Once we identify the cause, we can update our documentation: troubleshooting entry
  • Modification in detection logic

jas-kas avatar Feb 05 '24 16:02 jas-kas