【问题标题】:touchmove and mousemove preventing vertical scroll on iPadtouchmove 和 mousemove 防止 iPad 上的垂直滚动
【发布时间】:2013-06-11 02:28:52
【问题描述】:

我一直在为一个学校项目开发 iOS iPad 应用程序,该应用程序使用 jQuery.touchSwipe.min.js 代码,允许用户在页面之间水平滑动。

但是,我发现对于高度大于 iPad 屏幕的内容,它会阻止上下滚动。如果我从 jQuery.touchSwipe.min.js 中删除这段代码“touchmove”:“mousemove”,我可以再次获得垂直滚动效果,但是页面之间的水平滑动停止了!

如何在页面上垂直滚动时保持页面之间的水平滑动?

【问题讨论】:

  • 为什么不使用原生 jQuery Mobile 滑动事件?当您使用滑动在页面之间导航时?

标签: ios jquery-mobile uiscrollview swipe touchmove


【解决方案1】:
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-03-29
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多