Posted 2 March 2020, 11:37 am EST
Good morning/afternoon.
I’m reaching you out as I recently being monitoring the behaviour of the application I’m working on which is based on Vue JS and has few pages embedding SpreadJS instances, (not the Vue version as the current development status is not ready for production).
I noticed that even if we are firing the event destroy of the Workbook before initialising a new instance on route change there are listeners attached to the window which don’t go away.
When I look at the window listeners I notice lots of mousemove, mousedown, resize, touchend, touchcancel getting duplicated. Unfortunately not having the possibility to debug the spreadjs code I can’t actually see where the problem lives… but I can see some references to these functions:
checkParentSize,
deselect
Would you mind investigate and see if we could get rid of this memory leak please? It’s quite urgent for us to solve it as in our application switching between routes that contains Workbooks is one of the main feature and our user have to refresh the whole browser page in order to get rid of this killing memory issue.
Thanks in advance


