@sentry/browser
@sentry/integrations
5.19.1
Some "removeEventListener methods" didn't work when i upgrade packages to version 5.19.1.
But things work out all right on previous version, such as version 5.15.1.
And i found that this config below will cause "callback.__sentry__" to be "undefined" which committed at https://github.com/getsentry/sentry-javascript/commit/9a68a35836c739757f3d8e9418e21e53e62bd4d2
Sentry.init({
// ...
integrations: [new Sentry.Integrations.Breadcrumbs({ dom: false })]
});
Is this the reason that make event listeners which registered after sentry inited couldn't be remove ?
How to fix it ?
Are you able to provide some sort of repro-case? If there's indeed an issue, I'd like to get it fixed right away.
@kamilogorek
I created a repo like this :https://github.com/scorpio13love/sentry-dom-false.
@scorpio13love thanks, I'll look into it. From my first pass, it appears that disabling of dom breadcrumbs is causing it. Very odd though. Will get back to you once I find the issue.
Most helpful comment
@scorpio13love thanks, I'll look into it. From my first pass, it appears that disabling of dom breadcrumbs is causing it. Very odd though. Will get back to you once I find the issue.