JQuery-mobile在转换期间的Android页面闪存 [英] JQuery-mobile android page flash during transition
问题描述
我使用jquery mobilw与phonegap,在Android上,测试与几个机器,但使用页面转换时,从页面a到b,它首先转换到b,比一个显示一段时间,b是显示再次。有时候这种闪烁甚至是值得的。
我使用1.4 JQuery-mobile,但问题在1.3.2中已经存在。我试着像从网上找到的每一个可能的建议,但没有一个是工作。这些包括
转动硬件加速
设置-webkit-
在JQuery-mobile等中缩放缩放。
这真的是在杀我。
$ b b
< meta name =viewportcontent =user-scalable = no,width = device-width,initial-scale = 1>
来源
查看注释
I am using JQuery-mobilw with phonegap, on android,tested with several machines but when using page transition, from page a to b, it first transit to b, than a is show for a few moments, and b is show again. Sometime this flickering is even worth.
I am using 1.4 JQuery-mobile, but problem exists already in 1.3.2. I tried like every possible suggestions found from the web but none is working. these includes
turn of hardware acceleration
set -webkit-backface-visibility: hidden;
turn of zoom in JQuery-mobile etc.
This is really killing me.
Adding user-scalable=no
resolves the problem.
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1">
Source
Solution to flicker problem in jQuery mobile page transitions!
See the comment
这篇关于JQuery-mobile在转换期间的Android页面闪存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!