Maximum call stack size exceeded from ej.touch.min.js

I am using ejDiagram and building on top of it, utilizing the properties to monitor events and dispatch method calls as the user performs actions.

I started receiving a 'Maximum call stack size exceeded' error intermittently when I select and drag nodes on the diagram, and it seems to be stemming from ej.touch.min.js, but I can't drill in any deeper than that. So far I haven't been able to identify a specific pattern of movement or node that causes this more frequently. I have noticed it happens when I approach the edge of the canvas, but that could just be coincidental. 

The error is thrown from jquery-1.11.2.min.js on Function.m.extend.m.fn.extend

Any thoughts/known workarounds for how I can avoid this error?

Thank you!

1 Reply

SG Shyam G Syncfusion Team January 4, 2018 12:00 PM UTC

Hi Emma, 
 
The reported issue occurs only if an method calls recursively. We suspect that you have called an method recursively in some diagram events. So could you please check it while dragging the node or please share us more details such as modify the below playground link or share your JSON of diagram creation and diagram events code which you have used in your application or sample to replicate an issue. 
 
 
Regards, 
Shyam G 


Loader.
Up arrow icon