HTML5 Drag and Drop does not work in a DevExtreme application

from:https://supportcenter.devexpress.com/ticket/details/q553667/html5-drag-and-drop-does-not-work-in-a-devextreme-application 

I am evaluating DevExtreme PhoneJS and in particular the ability to drag and drop images on a touch device like iPhone or Android. I modified the sample application (E4702) The first one for Visual Studio and added native drag and drop HTML5 in the application with some javascript events. (I have attached in a .zip.) Basically, I'm testing draggable images to some <divs>. The drag and drop works fine on the Emulator with a mouse. When the application is packaged and installed on an actual Android phone, the images will not drag nor drop. What is needed to get this to function? (Basically, I believe the phone is not responding to the touch events-- how should I wire these up so they function on the actual phone w/out mouse clicks.) My eval depends on this.

Thanks,

Joe

--------------------------

Hi Joe,
You can reproduce the same behavior on a mobile browser with an example from the HTML5 Drag and Drop help topic.
Please follow recommendations from the jQuery - draggable images on iPad / iPhone - how to integrate event.preventDefault();? post.

posted @ 2022-09-26 10:38  Yaoquan.Luo  阅读(28)  评论(0编辑  收藏  举报