Skip to content

Related to DOM nodes accumulation in memory while scrolling in DynamicSizeList.  #433

@dheerajk30

Description

@dheerajk30

@bvaughn I was checking out the demo of DynamicSizeList here(https://react-window-next.now.sh/#/examples/list/dynamic-size) when I noticed that there is a memory leak in scrolling effect as the DOM nodes are increasing while scrolling but they don't get garbage collected somehow. I started from DOM nodes count ~2000 and after scrolling for some time, it increased to ~9000 and never went back to the initial count. This will become very problematic when the user is continously scrolling through the app. I checked if the same issue is there in FixedSizeList or DynamicSizeList but it is not there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions