jquery-ui-touch-punch icon indicating copy to clipboard operation
jquery-ui-touch-punch copied to clipboard

Does not work in Windows Tablet

Open brystfire08 opened this issue 7 years ago • 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?

brystfire08 avatar Dec 04 '17 09:12 brystfire08

same issue for me, searching for alternative.

bendandoSolo avatar Jan 19 '18 13:01 bendandoSolo

I'm also having this issue, is there a way to support windows tablets?

tashsoko avatar Mar 25 '18 18:03 tashsoko

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.

momcilotoptal avatar Nov 01 '18 15:11 momcilotoptal