private async Task OnDroppedCanceled() { dragging = false; await DragEnded.InvokeAsync(Item); await InvokeAsync(StateHasChanged); }
private async Task OnDragEndHandler(DragEventArgs e) { if (dragging) { dragging = false; await ParentContainer?.CancelTransaction(); } else { await DragEnded.InvokeAsync(Item); } }