Closed ViRuSTriNiTy closed 3 years ago
Looks great! Thanks.
@Postlagerkarte Would you please release a new NuGet package? Otherwise I need to work with a git submodule and this is somewhat tedious.
@ViRuSTriNiTy DragDropService is reset (DragDropService.ActiveItem = default) before DragEnd is called resulting in null being passed as parameter to DragEnd.
@tkrakowiak Can you provide a minimal reproducible example?
@ViRuSTriNiTy you can change your ToDoList example like this:
<Dropzone Items="MyToDoList" DragEnd="DragEnd">
<Todo OnRemoveClick="(item)=>MyToDoList.Remove(item)" Item="@context"></Todo>
</Dropzone>
private void DragEnd(TodoItem obj)
{
var todo = obj;
}
@ViRuSTriNiTy I think this PR would be enough to fix it.
see #96