angular-dragdrop icon indicating copy to clipboard operation
angular-dragdrop copied to clipboard

Memory Leak with dynamic dom content

Open ozgurakcali opened this issue 8 years ago • 0 comments

We are using this plugin with handsontable. We make table cells draggable and droppable with this plugin. User can load new data to the table without refreshing the page. We have detected a memory leak in this case. When the cells are draggable and droppable, each time user loads new data to the table, memory usage of the app increases. I think this is because this plugin keeps reference to old cells in the table, even though they are no longed in the DOM. We did not observe a memory leak when we removed drag - drop functionality of the cells. I think the plugin does not remove references automatically when dom elements are removed, is there a way to do this manually?

ozgurakcali avatar Dec 18 '17 12:12 ozgurakcali