-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DragDrop Component #668
Labels
Comments
Hi! Maybe yours could be added as an alternative example. Or maybe you want to encapsulate this for a future MudFileUploader component |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I was inspired by Steve Sanderson's InputFile samples and I was thinking about making the drag and drop viewer component with a MudBlazor style.
I couldn't go to far with the
DragEventArgs
since some features are currently missing and planned for the next release: dotnet/aspnetcore#18754.If someone wishes to add them using javascript I'd check out the MDN HTML Drag and Drop API.
Something similar to the code below is what I currently use, but I was thinking of adding a bit more visual cues like changing the color when files are dragged over.
DataTransfer
is not yet supported so you'll see in the console 0 items or files:My goal is to inspire someone to make a more reusable and easier to customize component and maybe then add the example to https://mudblazor.com/components/fileupload.
The text was updated successfully, but these errors were encountered: