GeezerVison is showing github.com — Replay: Dead click false positive · Issue #9755 · getsentry/sentry-javascript
Replay: Dead click false positive #9755DescriptionClicking on a 'drop down' causes it to show but is detected as false positive:

Example replay link.
SDK version: 7.85.0 Activitymydea commented on Feb 5, 2024 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. jas-kas commented on Feb 5, 2024 jas-kas commented on Feb 5, 2024 Approaches to resolve this:
- Once we identify the cause, we can update our documentation: troubleshooting entry
- Modification in detection logic
getsantry commented on Aug 24, 2024 This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 bruno-garcia commented on Aug 28, 2024 mydea commented on Aug 29, 2024 Hmm, I have another clue, found a way to hopefully reduce some more false positives.
Currently, we check for rrweb IncrementalSource.Mutation do determine if something changes. However, there are some more types in there we can check for, which we may also interpret as a mutation:
export declare enum IncrementalSource {
Mutation = 0,
MouseMove = 1,
MouseInteraction = 2,
Scroll = 3,
ViewportResize = 4,
Input = 5,
TouchMove = 6,
MediaInteraction = 7,
StyleSheetRule = 8,
CanvasMutation = 9,
Font = 10,
Log = 11,
Drag = 12,
StyleDeclaration = 13,
Selection = 14,
AdoptedStyleSheet = 15,
CustomElement = 16
}
I will extend our check to consider these changes as "DOM mutations":
const IncrementalMutationSources = new Set([
IncrementalSource.Mutation,
IncrementalSource.StyleSheetRule,
IncrementalSource.StyleDeclaration,
IncrementalSource.AdoptedStyleSheet,
IncrementalSource.CanvasMutation,
IncrementalSource.Selection,
IncrementalSource.MediaInteraction
]);
Importantly, this may also detect some stuff like playing/pausing audio 🤔 not 100% sure if this will fix the problem, but it should def. reduce opportunities for false positives, at least!
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|