【问题标题】:jQuery mobile phonegap flicking and jumping data-role="content" when sliding from page to another从页面滑动到另一个页面时jQuery手机gap弹跳data-role="content"
【发布时间】:2015-01-31 07:31:49
【问题描述】:

我们已经使用 phonegap 为 iOS 和 Android 使用 jQuery mobile 构建 HTML5 应用程序。问题是在页面和另一个页面之间滑动时, data-role='content' 的内容在固定在页面之前会闪烁和跳跃。没有主屏幕的每个页面上都会发生这种情况。在主页中,我们将元视图端口放在下面:

<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1, maximum-scale=1" /> 

感谢您的建议...

【问题讨论】:

    标签: android ios jquery-mobile phonegap-build


    【解决方案1】:

    首先 - 这是 jQM 的一个已知问题。您可以关闭过渡,它会停止。我有几个使用 jQM 构建的应用程序,我和所有使用 jQM 和 PBG 的人一样,都在为此苦苦挣扎。

    第二 - 不要使用 jQM。这不是最好的事情。我推荐离子。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多