lundi 30 mars 2015

How to turn off Chrome's touch events with Javascript?

I have a snippet of code that refuses to work in Chrome on Windows tablets (most importantly Surface Pro), unless I turn off Touch events via the chrome://flags mechanism:


enter image description here


Since I can't ask my users to change this setting, is there a way to manipulate this setting (or something that does the trick) for my page only?


P.S. The code in question is a drag & drop for Kendo UI Grid and even won't even fire with the touch setting set to Automatic.



grid.table.find("tbody tr").kendoDropTarget({
dragenter: function (e) {...}

Aucun commentaire:

Enregistrer un commentaire