Draggable attribute not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Draggable attribute not working

Why is my paragraph not draggable? https://code.sololearn.com/WCRqPAFXvuQo/?ref=app

19th Feb 2022, 10:19 AM
Rishi
Rishi - avatar
9 Answers
+ 3
Rishi yeah it is not dragging because you are on phone. If you have pc, then go to Sololearn ' s web version and u will see the paragraph is dragging.
21st Feb 2022, 9:04 AM
Mishu
Mishu - avatar
+ 3
Rishi This code working for every devices https://code.sololearn.com/WQrUtV1ElXNA/?ref=app
25th Feb 2022, 5:31 AM
Raju Adhikary
Raju Adhikary - avatar
+ 3
Raju oh wow thank you very much brother, i really appreciate it 😊👏👏
25th Feb 2022, 5:39 AM
Rishi
Rishi - avatar
+ 2
FF9900 it's not dragging for me but i can see the "ima draggin" words when I long press it. What do you mean by "make it work with touchscreens"? I'm using a touch screen device, maybe that's why i can't drag it?
19th Feb 2022, 2:00 PM
Rishi
Rishi - avatar
+ 2
Mishu for me it's not draggable maybe cuz I'm on my phone
19th Feb 2022, 2:02 PM
Rishi
Rishi - avatar
+ 2
Mishu yeah right
21st Feb 2022, 9:16 AM
Rishi
Rishi - avatar
+ 1
FF9900 what are those? I don't know how to do that. I thought this "draggable" attribute works just like the "required" attribute in inputs. Could you show me an example pls 👉👈
19th Feb 2022, 10:55 AM
Rishi
Rishi - avatar
+ 1
What happened? The paragraph is dragging. Maybe it was dragged, but you tried to drop it on the cursor location. It will not be possible if u make the paragraph only draggable.
19th Feb 2022, 11:00 AM
Mishu
Mishu - avatar
+ 1
FF9900 ohh that's why... Thank you :)
19th Feb 2022, 2:02 PM
Rishi
Rishi - avatar