jQuery UI Widgets › Forums › Dialogs and Notifications › Window › Problem with dragging on touchdevice
This topic contains 4 replies, has 2 voices, and was last updated by Peter Stoev 10 years, 2 months ago.
-
Author
-
Hello,
We ran into a problem when testing our product on touchdevices.
While dragging windows works fine on iPad, we cannot drag any window on the touchmonitor.
This problem also exists in the demos.
Additionally, we can also reproduce the problem on a normal pc using chromes “emulate touch screen” functionality.Examples:
window demodocking demo
-> This case is very interesting. It works with chromes emulated touch, but when opening the demo directly it doesn’t work.
On the real touch monitor both ways don’t work.Best Regards,
ChristianSince I cannot edit the OP anymore and I wanted to clearify:
The mobile Demos have the same behaviour.
mobile demo embedded
-> Chrome emulated touch works. Touchmonitor doesn’t work.mobile demo not embedded
-> Neither emulated touch nor touchmonitor work.Hi Christian,
On Phone/Tablet Device, the jqxWindow’s dragging works as expected. The supported devices and browsers can be viewed on the documentation page.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHello Peter,
We found out that our touchmonitor is not recognized as touchdevice by the widget:
$.jqx.mobile.isTouchDevice() returns false
As far as we understand, this is caused by the widget discerning touch and no-touch by checking the browser used by the device.
Since our touchmonitor uses the standard desktop version of chrome it is falsely labeled as no-touch.Our Workaround:
Modernizr correctly labels our monitor as “touch” and dependant on that information we can set “$.jqx.mobile.touchDevice = true” in document.ready.
After doing that touch controls work as expected on the monitor.
We noticed that once touch is enabled this way, the mouse can no longer interact with the windows.
This is fine with us as the product is meant to be controlled by touch only.If there is any further information to this subject it would be appreciated.
We would also like to suggest updating your touch-device recognition, as this seems to be the root of the problem.Best Regards,
ChristianHi Christian,
Ok, we will investigate whether we try to update something on our side or not.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.