Postlagerkarte / blazor-dragdrop

Easy-to-use Drag and Drop Library for Blazor
MIT License
405 stars 96 forks source link

PR for issue 78 #79

Closed koryphaee closed 3 years ago

koryphaee commented 3 years ago

Expanded the Accepts-Parameter to include the drop target.

I removed the margin in the todo item because it was giving me trouble when trying to drop the item above the first one.

Postlagerkarte commented 3 years ago

Looks good - however, there is a issue:

keep blinking

Reason is that after Drop you are not clearing the dragTargetItem.

It might be a good idea to move the dragTargetItem into the DragDropService and clear it inside the DragDropService.Reset method.

koryphaee commented 3 years ago

fixed