ObaidUrRehman / ng-drag-drop

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

feat: allow draghandle to work for touchscreens when used with polyfill #112

Closed andreialecu closed 6 years ago

andreialecu commented 6 years ago

Feature

I've been able to use this polyfill to enable drag and drop for touch devices: https://github.com/timruffles/ios-html5-drag-drop-shim

However, when using .drag-handle, there is an Illegal invocation error because the drag handle isn't registered properly on touch screens.

Allows the drag handle to be registered properly on a touch start event.

ObaidUrRehman commented 6 years ago

Thanks @andreialecu . I will publish a new build asap.