GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replay: Dead click false positive · Issue #9755 · getsentry/sentry-javascript

Replay: Dead click false positive #9755

New issue
Copy link
New issue
Copy link
Closed
#13518
Closed
Replay: Dead click false positive#9755
#13518
Copy link
Assignees
mydea
Labels
BugStale

Description

@bruno-garcia
bruno-garcia
opened on Dec 5, 2023
Issue body actions

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

Example replay link.

SDK version: 7.85.0

Activity

  1. bruno-garcia
    assigned
    mydea
    on Dec 18, 2023
  2. mydea commented on Feb 5, 2024

    @mydea
    mydea
    on Feb 5, 2024
    Member
    More actions

    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.

    Reacted by Jasmin
  3. jas-kas commented on Feb 5, 2024

    @jas-kas
    jas-kas
    on Feb 5, 2024
    Contributor
    More actions

    @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?

  4. jas-kas commented on Feb 5, 2024

    @jas-kas
    jas-kas
    on Feb 5, 2024
    Contributor
    More actions

    Approaches to resolve this:

    • Once we identify the cause, we can update our documentation: troubleshooting entry
    • Modification in detection logic
  5. AbhiPrasad
    added
    Package: replay
    Waiting for: Community
    on Aug 2, 2024
  6. getsantry
    added this to GitHub Issues with 👀 3on Aug 2, 2024
  7. getsantry
    moved this to Waiting for: Community in GitHub Issues with 👀 3on Aug 2, 2024
  8. getsantry commented on Aug 24, 2024

    @getsantry
    getsantryBot
    on Aug 24, 2024
    More actions

    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 🥀

  9. getsantry
    added
    Stale
    on Aug 24, 2024
  10. bruno-garcia commented on Aug 28, 2024

    @bruno-garcia
    bruno-garcia
    on Aug 28, 2024
    MemberAuthor
    More actions

    This is still happening. In fact these are the top 3 dead clicks in Sentry:

    Image

  11. mydea commented on Aug 29, 2024

    @mydea
    mydea
    on Aug 29, 2024
    Member
    More actions

    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!

    Reacted by Bruno Garcia
  12. mydea
    closed this as completedin #13518on Aug 30, 2024
  13. mydea
    added a commit that references this issue on Aug 30, 2024

    fix(replay): Consider more things as DOM mutations for dead clicks (#…

    09622d6
  14. getsantry
    removed
    Waiting for: Community
    on Aug 30, 2024
  15. ghost added
    Bug
    on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mydea
    mydea

Labels

BugStale

Projects

  • GitHub Issues with 👀 3
    Status
    Waiting for: Community
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.