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

Memory leak while using an overflow menu inside the tree view component while navigating #3003

Open
Ornco opened this issue Sep 23, 2024 · 0 comments

Comments

@Ornco
Copy link

Ornco commented Sep 23, 2024

Detailed description

Describe in detail the issue you're having.

The design I am working on needs an overflow menu inside the tree view component which seems to be causing a memory leak coming along with navigation

Is this a feature request (new component, new icon), a bug, or a general issue?

Seems to be a bug

Is this issue related to a specific component?

Yes - the overflow menu component

What did you expect to happen? What happened instead? What would you like to see changed?

I would expect there to be no memory leak.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

5.28.3

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Zelta

Steps to reproduce the issue

Create a tree view with a node list and render an overflow menu with each node.

  1. Check the sandbox link below and open the preview in it's own tab
  2. Start profiling the performance
  3. Click the 'Click me to reset table button' a few times (the more you press the better, maybe 20/30+).
  4. Stop profiling and view the leak.
image

https://codesandbox.io/p/sandbox/carbon-components-angular-forked-mpx7kf

Additional information

A similar leak was also seen for overflow menus inside the cds-table-toolbar-content component and for overflow menus in nested tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant