Does not work in Windows Tablet
brystfire08 opened this issue · 3 comments
I am using the jquery ui sortables plugin
https://jqueryui.com/sortable/
it works fine on my android phone thanks your plugin but it does not work on my Windows tablet..
I tried to change this code
`// Detect touch support
$.support.touch = 'ontouchstart' in document;
// Ignore browsers without touch support
if (!$.support.touch) {
return;
}`
to this :
`// Detect touch support
$.support.touch = 'ontouchstart' in window
|| navigator.maxTouchPoints;
// Ignore browsers without touch support
if ($.support.touch == 0) {
return;
}`
to make it true for windows tablet but is still does not work.. any idea how to fix it?
same issue for me, searching for alternative.
I'm also having this issue, is there a way to support windows tablets?
For anyone still looking at this thread - I was having the same issue with a Windows-powered computer that has also a touch screen.
I managed to solve it for my purposes, but only because I had the access to the browser's settings on the given device (it is an HTML app installed on kiosks with touch screen and Windows). So I went into the chrome://flags settings and I meddled with Touch Events API and Touch initiated drag and drop options until I found a combination that enabled the dragging.
Hope this helps. I wasn't able to solve this programmatically, only by meddling with browser settings.