Hello Syncfusion team,
Occasionally, I encounter the below error when attempting to drag a node.
core.js:4610 ERROR TypeError: Cannot read property 'id' of undefined
at DiagramComponent.drag (ej2-diagrams.es2015.js:35307)
at CommandHandler.dragSelectedObjects (ej2-diagrams.es2015.js:31953)
at MoveTool.mouseMove (ej2-diagrams.es2015.js:23828)
at DiagramEventHandler.checkAutoScroll (ej2-diagrams.es2015.js:26171)
at DiagramEventHandler.mouseMoveExtend (ej2-diagrams.es2015.js:25968)
at DiagramEventHandler.mouseMove (ej2-diagrams.es2015.js:26132)
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:28183)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
The diagram JSON is attached.
Also please see the attached GIF files.
1: While dragging the node, the node moves too fast (relative to the mouse movement).
2: Also observing some weirdness with node selection area after I select the node and scroll using mousewheel up/down.
This issue occurs even with the latest (18.4.31) @syncfusion/ej2-angular-diagrams package.
Please let me know if any additional information is needed to troubleshoot this issue.
Thanks,
-Mithun
Attachment:
syncfusiondragissue_6f2fa4c8.zip