Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Ha! I found the root cause!! If I disable the gurubase widget and Google tag manager, I won't see the detached elements any more. So I think the memory leak is coming from gurubase widget and Google tag manager. I think these 3rd party scripts might have objects the hold references to DOM elements that are used to be part of DOM. 👎 to these 3rd party components that handle GC carelessly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to create an image gallery using vanX.list and running into an issue where dom elements are becoming detached and not garbage collected when removed from the reactive array, creating a memory leak.
Digging into this, I found that vanX.list seems to produce this effect even on vanX docs:

Even after clicking the chome garbage collect button, these detached nodes persist. Is there a way to get rid of these detached nodes?
Beta Was this translation helpful? Give feedback.
All reactions