Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I have an HTML drag-and-drop input in Microsoft Edge?

We are adapting our product to Microsoft Edge. We have an HTML drag-and-drop feature that works correctly in IE, Chrome, etc.

Using Microsoft Edge from Win10 Insider Preview Build 10162, the drop is forbidden. We also checked http://html5demos.com/dnd-upload doesn't work neither.

Has anyone solved this problem?

like image 915
Christian Rodriguez Avatar asked Jul 27 '15 09:07

Christian Rodriguez


People also ask

Does Microsoft EDGE support drag and drop?

Whether it's OneDrive/Office 365, uploading to YouTube, or any email app that uses drag and drop (for like attaching files and photos), it won't work using Edge. It's no problem on other browsers like Firefox, even Internet Explorer; but not on Edge. Hopefully there's a fix or an update resolving this.

Does Microsoft EDGE support HTML?

The Microsoft Edge WebView2 control allows you to embed web technologies (HTML, CSS, and JavaScript) in your native apps.

How do I run HTML code in Microsoft edge?

Locate your html file in file explorer and right click on it > open with > select microsoft edge. Your html will be now open on microsoft edge. You can also set default apps for html files, go to your system settings and search for default apps and select microsoft edge and then in next page for .


2 Answers

Microsoft implemented this feature in EdgeHTML 13, included in Windows 10 Build 10586 (November 2015).


Original answer:

The DragAndDropEntries is not supported in Microsoft Edge yet. See this link for more detail

It says:

Allows dragging and dropping entire folders using HTML5 Drag and Drop. Extends the DataTransferItem with a method to get a FileEntry/DirectoryEntry. Roadmap Priority: Low — We are still evaluating this technology. There may be significant spec stabilization, foundational work, or additional community input required before we can begin development."

However, feel free to request for this feature at https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer

like image 188
Doris Chen Avatar answered Oct 05 '22 07:10

Doris Chen


I just tried it the demo on Microsoft Edge and it worked fine for me. enter image description here

like image 39
Rami Sarieddine Avatar answered Oct 05 '22 07:10

Rami Sarieddine