angular-drag-and-drop-lists
angular-drag-and-drop-lists copied to clipboard
Drag and drop lists for Ipad and mobile devices
Drag and drop is not working in the ipad and Mobile devices. What should I do to make it work?
The HTML5 drag and drop API, which this module is based on, is unfortunately not supported by mobile browsers. You might want to try this iOS shim. Please report back if you do and let us know whether it works.
hI, I have implement that iOS shim in my project and confirm it does in fact work. Not fully tested but so far so good.
I'm trying the shim out now and finding that it's making duplicates. mewis did you find some proper usage for the shim to get that sorted?
Getting the same issue with this shim, I think we might have to move this to the iOS shim repo.
+1 Doesn't work with mobile devices.
This workaround works, the only issue I see is its missing the dragover styles to show the drop targets.
On Android, I had issues with duplication when moving with the iOS shim (even after enabling the dragenter/leave events as specified in its docs).
I tried the dragdroptouch shim instead and it's now working as expected!
@woodcoder ~~Did you just include the js file? Or did you do something else to get the dragdroptouch shim to work? I've included it, but I don't get it to work :/~~
Crappy caching... :dizzy_face:
But another thing, the dnd-nodrag directive seams to semi ignored, i still get an indication that I can drag items wrapped in
Gotta test this on more devices, on my phone I have to enable "Request desktop site" to get dragging enabled.
+1 for the dragdroptouch shim. I haven't done much testing though but it's working whereas the iOS shim didn't.
another +1 for dragdroptouch, literally didn't have to do anything other than drop in the js file and it appears to work on physical android and iOS (albeit, only a few minutes of testing with each, but now I can say it works on my machine™). Thanks for find @woodcoder and verifying @davidp1978