Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
How do i specify only specific region in which the node can be dragged ? Tried with boundary constraints but there is some issue with it in blazor
OnPositionChange="OnPositionChange"
public void OnPositionChange(IBlazorDraggingEventArgs args)
{
double newX = args.NewValue.OffsetX.GetValueOrDefault();
double newY = args.NewValue.OffsetY.GetValueOrDefault();
if(newX < 0 || newY < 0)
{
//args.Cancel = true;
args.AllowDrop = false;
return;
}