How do I made drag and drop for touch screens? | Sololearn: Learn to code for FREE!

+1

How do I made drag and drop for touch screens?

Drag and drop works fine for cursors, for mobile phones and tablets however it doesn't, I tried holding the element and it did trigger the dragstart event, it doesn't trigger the dragend event though, and I can't move it, so it always is stuck at dragging stage.

12/29/2020 10:38:51 AM

Karak10

3 Answers

New Answer

+2

Karak10 this might be helpful to you. https://code.sololearn.com/Wdhhd3yG5Z7l/?ref=app Further, please try to use search before posting a question. https://www.sololearn.com/Discuss/531553/?ref=app

0

https://code.sololearn.com/WgZg39ucD3l4/?ref=app

0

I made this: https://code.sololearn.com/WA19a0a18a19/?ref=app