ObaidUrRehman / ng-drag-drop

Drag & Drop for Angular - based on HTML5 with no external dependencies. :tada:
MIT License
239 stars 123 forks source link

Drag drop not supported in all browsers #8

Closed Vinutha-BK closed 7 years ago

Vinutha-BK commented 7 years ago

Currently I have implemented DnD by importing 'Ng2DragDropModule', its working fine in chrome and mozilla. But not supported in safari and ms edge browser. Please guide where we have to change to support all browsers.

ObaidUrRehman commented 7 years ago

@Vinutha-BK can you please let me know which version of Safari is causing issues. I have checked it against Safari v9.1.2 and it is working fine. There seems to be issues with Edge browser that I am looking into.

Here is a link to working Plunkr: http://plnkr.co/edit/2bjGgzWnbFrciEiCKLew?p=preview

Vinutha-BK commented 7 years ago

@ObaidUrRehman Thank you for the quick response.I was checking with Safari v5.1.7 which is the latest version for windows 8 and its not working. Kindly suggest to resolve the issue in Edge browser.

ersurajnegi commented 7 years ago

DnD not working for EDGe browser

ObaidUrRehman commented 7 years ago

Will fix the issue in edge. Its because of using non-standard content-type in dataTransfer.setData(). Edge only accepts text or json.

@Vinutha-BK the Safari for windows is very old, apple dropped support for it ages ago.