简体   繁体   English

使用JQuery移动changePage时,白屏始终在转换之前显示

[英]white screen always show before transition while using JQuery mobile changePage

I am making single page app with Backbone, JQuery mobile, when I use JQuery changePage to switch views(pages), white screen always showes before transition(testing on Android), have tried out solutions found on StackOverflow, but still problem existing. 我正在使用Backbone,JQuery mobile制作单页应用程序,当我使用JQuery changePage切换视图(页面)时,白屏始终显示在过渡之前(在Android上进行测试),尝试了StackOverflow上的解决方案,但仍然存在问题。 So is there better solution to solve it? 那么有更好的解决方案吗?

Problem solved: 问题解决了:

Solution: 解:

Change:

<meta name="viewport" content="width=device-width, initial-scale=1">

To:

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

Then white screen disappear. 然后白屏消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM