-
Notifications
You must be signed in to change notification settings - Fork 10.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
Drag & Drop #18754
Comments
Hi @danroth27 : Can you please also include #14792 when considering Drag & Drop? Also I currently face the problem that DataTransfer.Files is null when dropping a file. So basically it would be great if the all properties of the DragEventArgs are available and we read/write access to them! |
More context: https://gist.github.com/MackinnonBuck/374e529e9c3fdb9d228214b4cc79e617. @MackinnonBuck's work is in the “t-mabuc/drag-and-drop” branch in the aspnetcore repository (also linked in the writeup). |
Thanks for contacting us. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Thanks for contacting us. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
And how was the lad's internship? Would like to see this get some love. |
After investigating various approaches we've decided that a general purpose drag & drop feature isn't something we can easily add to the Blazor framework due to the following issues:
Fortunately, it can be relatively straightforward to solve drag/drop in a special-case way according to the needs of one specific app because you can pick out one of the many .js drag/drop libraries that happens to do things with the particular UX you want and call it via JS interop. For example, this sample uses draggable.js and JS interop to build a mobile-capable drag-drop calendar UI. We think the Blazor community is best suited to decide which approaches to drag & drop are most useful to package and share. Since we don't plan to add this as a core feature of Blazor, I'm going to go ahead and close this issue. |
@danroth27 It would be interesting that Blazor team could provide a couple of examples from basic to more advanced showing how to integrate Blazor with one of the drag&drop libraries out there, preferably, one that is not deprecated. I feel there's little support for advanced functionalities and articles out there take time to appear. Also, since Bootstrap is the framework used in default templates, it would be interesting to see some examples on how to use BS components and deal with the problem of initialization in Blazor components. I guess it takes time, but it would be nice to see some examples from the makers with the best practices for easier adoption. |
We'd like to
The text was updated successfully, but these errors were encountered: