blazor-dragdrop
blazor-dragdrop copied to clipboard
Add support for `effectAllowed ` and `dropEffect`
Hi there,
it would be nice to allow the adjustment of effectAllowed
and dropEffect
to change the cursor as needed while executing a drag & drop operation.
As the component DropZone
handles ondrag
events in C# directly there is no chance to intercept and update the settings. I think this would require JsInterop as mentioned by Microsoft:
DataTransfer
andDataTransferItem
hold dragged item data. Implement drag and drop in Blazor apps using JS interop with HTML Drag and Drop API. https://docs.microsoft.com/en-us/aspnet/core/blazor/components/event-handling?view=aspnetcore-5.0#event-argument-types
So lonG Daniel
Any solution?
@angelru Sorry but nope. Since my PRs don't get recognized by the repo owner I basically stopped working on the project. So it's unlikely that a solution comes from my side.