Diagram with children on drag is changing the height/width of the parent node

Create 2 children nodes, then create a parent node, then add the children node ID's to parent.Children string[]. Run project. 

Drag the parent around on the screen. The parent changes its height and wide when it should not and only be dragged around.

3 Replies

AR Aravind Ravi Syncfusion Team May 19, 2020 06:40 AM UTC

Hi Scott, 

We are unable to reproduce the reported issue at our end. In the sample we have create two child nodes and set those id to the children of the group node. We have attached a video demonstration in that while drag the group node, it does not change its height or width. Please find the video in below link 


We have attached a sample for your reference. Please find the sample in below link 

  
In case if the issue still persists, please share us video representation of issue or modify the above sample illustrating issue which would help us to proceed further. 

Regards 
Aravind Ravi 



SP Scott Peal May 20, 2020 01:08 PM UTC

I found the issue. I was setting the children on the selected node collection and not the actual node collection. All is working. You example helped me a lot! Thank you


AR Aravind Ravi Syncfusion Team May 21, 2020 05:10 AM UTC

Hi Scott, 
  
Thanks for your update. 
  
Regards 
Aravind Ravi 


Loader.
Up arrow icon