- 1

Does Drag and Drop API work on android phones?

I have tried it. But the element to be dragged doesn't move at all. I was wondering if my code is wrong or it doesn't work at all. Does it only work using mouse?

10th Feb 2021, 6:08 AM
Mousin Ahanger
Mousin Ahanger - avatar
4 Respuestas
+ 2
no: drag n drop doesn't work on android... yes: it only works using mouse... however, you could google and find scripts for workaround (trying to make android compatible with drag n drop), but the one I've tried in the past could interfere with others scripts or special templates ^^
10th Feb 2021, 6:35 AM
visph
visph - avatar
+ 2
Calviղ slipjs is cool, but is just a Drag n Drop like feature: it doesn't implement the real API... anyway, it is maybe easier to use ^^
13th Feb 2021, 11:30 AM
visph
visph - avatar
0
ŚĄŃ OP was asking for Drag n Drop API support, not for Drag n Drop like feature... https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API
10th Feb 2021, 12:52 PM
visph
visph - avatar
0
https://code.sololearn.com/WgZg39ucD3l4/?ref=app
13th Feb 2021, 6:19 AM
Calviղ
Calviղ - avatar