jquery-ui可排序|如何让它在iPad / touchdevices上运行? [英] jquery-ui sortable | How to get it work on iPad/touchdevices?

查看:98
本文介绍了jquery-ui可排序|如何让它在iPad / touchdevices上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在iPad和其他触控设备上使用jQuery-UI可排序功能?

How do I get the jQuery-UI sortable feature working on iPad and other touch devices?

http://jqueryui.com/demos/sortable/

我试图使用 event.preventDefault(); event.cancelBubble = true; ,以及 event.stopPropagation(); 使用 touchmove 滚动事件,但结果是页面不滚动任何更长的时间。

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.

任何想法?

推荐答案

找到解决方案(直到现在才用iPad进行测试!)!

Found a solution (only tested with iPad until now!)!

http://furf.com/exp/touch-punch/sortable.html

这篇关于jquery-ui可排序|如何让它在iPad / touchdevices上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆