How do I get the jQuery-UI sortable feature working on iPad and other touch devices?
http://jqueryui.com/demos/sortable/
I tried to using event.preventDefault();
, event.cancelBubble=true;
, and event.stopPropagation();
with the touchmove
and the scroll
events, but the result was that the page does not scroll any longer.
Any ideas?
Found a solution (only tested with iPad until now!)!
http://furf.com/exp/touch-punch/sortable.html
Tom, I have added following code to mouseProto._touchStart event:
To make
sortable
work on mobile. Im using touch-punch like this:Take note of adding
disableSelection();
after creating the sortable instance.