- Home
- Forum
- ASP.NET MVC
- ImageNode cant be interacted after drop
ImageNode cant be interacted after drop
Hi,
I have updated to 15.4.0.17 and there seems to be a bug with the image node in Diagram builder.
Can't interact with it after the drop.
I have attached a sample project with the issue.
Thank you
Attachment: SyncfusionMvcApplication1_e3211090.7z
SIGN IN To post a reply.
4 Replies
SG
Shyam G
Syncfusion Team
November 17, 2017 05:21 AM UTC
Hi Indrani,
On analyzing your sample, we found that you have removed Resize, PointerEvents NodeConstraints from Default NodeConstraints and so the interaction is disabled for imageNode. If you need to disable node resizing alone, please refer to the code example below.
Code example:
ImageNode imagenode = new ImageNode();
imagenode.Name = "PupilImage";
//disable node resizing
imagenode.Constraints = NodeConstraints.Default & ~NodeConstraints.Resize;
Please refer to the help documentation below for more details.
Help documentation: https://help.syncfusion.com/api/js/ejdiagram#members:nodes-constraints
Regards,
Shyam G
SG
Shyam G
Syncfusion Team
November 17, 2017 05:31 AM UTC
Hi Indrani,
Additional to our previous update, could you please confirm us whether image node dragging works in previous version after removing PointerEvents constraints from Default NodeConstraints. If yes, it is an wrong behavior and the node dragging should not work if we remove PointerEvents NodeConstraints. Please share us an essential studio version which you used previously, so that we will validate it further and provide an better solution.
Regards,
Shyam G
IG
indrani Gajjarapu
November 17, 2017 12:17 PM UTC
Hi Shyam,
Thanks for the swift reply.
That's working after removing Pointer Events Constraint. Prior to the latest version, I have used 15.1.0.37.
Thank you.
SG
Shyam G
Syncfusion Team
November 18, 2017 05:07 AM UTC
Hi Indrani,
We have checked the image node dragging in your previous version 15.1.0.37 and current version 15.4.0.17, the image node could not be dragged if we remove PointerEvents NodeConstraints from default NodeConstraints and it works in both the versions. Could you please confirm us whether an image node dragging works by removing PointerEvents constraints in the previous version 15.1.0.37. if yes, please share us more details such as sample to replicate an issue in that version 15.1.0.37.
Regards,
Shyam G
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
IG indrani Gajjarapu
- Nov 16, 2017 02:11 PM UTC
- Nov 18, 2017 05:07 AM UTC