ObaidUrRehman / ng-drag-drop

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

Touch enabled #47

Open axtho opened 7 years ago

axtho commented 7 years ago

It would be great to have this library touch screen enabled (use swipes for drag and drop). Any plan for this?

ObaidUrRehman commented 7 years ago

Planned for v2.0. Hopefully soon.

ObaidUrRehman commented 7 years ago

I think I'll defer this for a later version maybe, since this component uses native Html5 drag drop feature and it's not supported on touch based UI.

I'll need to change the implementation and write a complete drag drop feature from scratch (or probably add dependency to other library)

There is a polyfill for drag drop on touch devices: https://github.com/Bernardo-Castilho/dragdroptouch. Probably this will fulfill your need for now.

andreialecu commented 6 years ago

I've been using https://github.com/timruffles/ios-html5-drag-drop-shim with great success.

The only remaining issue is: https://github.com/ObaidUrRehman/ng-drag-drop/pull/112