Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

🐛 Track Click Action produces memory leak #2865

Open
VincentMolinie opened this issue Jul 15, 2024 · 2 comments
Open

🐛 Track Click Action produces memory leak #2865

VincentMolinie opened this issue Jul 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@VincentMolinie
Copy link

Describe the bug
On RUM, the click track action seems to keep HTML element reference which produces this
Screenshot 2024-07-15 at 21 06 06
Screenshot 2024-07-15 at 21 06 19

To Reproduce
Steps to reproduce the behavior:

datadogRum.init({
      site: 'datadoghq.com',
      service: 'frontend',
      sessionReplaySampleRate: 0,
      trackUserInteractions: true,
      trackResources: true,
      trackLongTasks: true,
      trackViewsManually: true,
      defaultPrivacyLevel: 'mask',
      useSecureSessionCookie: true,
    });
  1. Click on a few stuff in your page
  2. Navigate to another page

Expected behavior
Click should not produce a memory leak

@VincentMolinie VincentMolinie added the bug Something isn't working label Jul 15, 2024
@thomas-lebeau
Copy link
Collaborator

Hi @VincentMolinie,

Thank you for reporting this issue. I'm not able to reproduce the issue you're describing. Would you be able to provide a minimal reproducible example in a code sandox? Or if possible, a link to the website where you experience the issue.

@VincentMolinie
Copy link
Author

I will try to find a reproductible scenario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants