Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to preventDefault inside passive event listener invocation. #15531

Open
3 tasks done
gaelle-c3d opened this issue Feb 27, 2025 · 1 comment
Open
3 tasks done

Unable to preventDefault inside passive event listener invocation. #15531

gaelle-c3d opened this issue Feb 27, 2025 · 1 comment
Labels
Package: angular Issues related to the Sentry Angular SDK

Comments

@gaelle-c3d
Copy link

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/angular

SDK Version

8.55.0

Framework Version

Angular 18

Link to Sentry event

n/a

Reproduction Example/SDK Setup

Sentry.init({
dsn: "https://***8980.ingest.sentry.io/4505557399896064",
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
],

// Performance Monitoring
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
tracePropagationTargets: [
"https://viewer2.c3ddev.com/",
"https://viewer2.cognitive3d.com/",
],

// routingInstrumentation: Sentry.routingInstrumentation,
// Session Replay
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
});

Steps to Reproduce

press on the color wheel in the color picker, and move to select another color ( using onmousemove and onmousedown simultaneously )
3. the error will show in the console

Image

Expected Result

no error should show in the console

Actual Result

an error displays in the console

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 27, 2025
@github-actions github-actions bot added the Package: angular Issues related to the Sentry Angular SDK label Feb 27, 2025
@chargome
Copy link
Member

Hey @gaelle-c3d thanks for writing in!

Can you confirm that your issue is caused by our SDK? Any way to have a reproduction on this one?
Also, could you check if the issue persists once you remove the Sentry.replayIntegration()?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Package: angular Issues related to the Sentry Angular SDK
Projects
Status: No status
Development

No branches or pull requests

2 participants