Skip to content

When Sentry is enabled, Javascript events seem to be duplicated on third party javascript library (Learnosity)Β #14214

@lwilson-newclassrooms

Description

@lwilson-newclassrooms

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

8.37.1

Framework Version

React 18.3.1

Link to Sentry event

No response

Reproduction Example/SDK Setup

Here is a reproducible app of the issue:

In the README it explains how to run the app and how to reproduce the issue.

https://github.com/lwilson-newclassrooms/sentry-learnosity-repro-app/tree/main

Steps to Reproduce

We created a React app with Vite, integrated a third party javascript library called Learnosity https://learnosity.com/ .

The issue we are experiencing is, when Sentry is enabled, some inputs of Learnosity's forms have a strange behavior.
For example, if you type a '4', the input displays '44'.
When we disable Sentry, Learnosity works as expected, without any issues.

Seems like a conflict between Learnosity and Sentry's javascript keydown events.

The REPRO steps are detailed on the REAMDE of the repo

Expected Result

We expect that Senrtry does not affect the behavior of third party javascript libraries.

Actual Result

The javascript keypress events seem to be duplicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions