Closed 9mm closed 1 year ago
Did you open it from your iphone? Or is it opened through the chrome emulator?
I opened the “examples” page on the actual iphone (version 16.5, iphone 14 Pro)
The problem has been recorded, I will try the real machine operation as soon as possible
You can try the react-dnd example to see if it works on your machine https://react-dnd.github.io/react-dnd/examples/dustbin/single-target
Awesome you rock, thanks!
Your example URL works properly in:
It also works in iOS you just have to hold it a very long time to drag it, but it still works perfect
https://hcg1023.github.io/vue3-dnd/example/dustbin/single-target.html
on this example for vue3-dnd, the 2 issues on ios are:
This is related to the implementation of react-dnd-touch-backend, touch-backend implements drag and drop through touchstart, touchmove, touchend and other events
So on the mobile side, you can't see the dragImage
Yes, it takes like 5 tries to try to “grab” it because it keeps highlighting the text. Then when it does grab it and you move thumb it doesn’t show the item being dragged
Yes, if you need to render dragImage on mobile, maybe you can try useDragLayer https://hcg1023.github.io/vue3-dnd/example/drag-around/custom-drag-layer.html
hmm ok, ill have to have a look at that. i just wanted to make sure it was possible/supported before integrating this into my project which will be fairly complex.
im building a drag-and-drop component builder, similar to this:
Can you think of any reason your project wouldnt work well for this before I start on it?
https://hcg1023.github.io/vue3-dnd/en/guide/faq.htmlYou can check the common problems here, if you have experience with react-dnd, vue3-dnd will not be difficult for you
I noticed all the demo examples are broken on iPhone, even the simple examples. Is this something thats on the roadmap?