iOS5 + jquery-mobile转换闪烁 [英] iOS5 + jquery-mobile transition blinks

查看:77
本文介绍了iOS5 + jquery-mobile转换闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在iOS 5上运行时消除对jqmobile过渡的恼人闪烁效果。我尝试了其他帖子中的几种方法,如-webkit-backface,并做了一些其他工作,但没有达到完整的解决方案。我观察到flickr发生在转换之前,由于导航栏重新定位页面而从顶部移位一个像素(可能是2)。当页面被重新呈现时,问题从初始化开始或在设备轮换之后开始,然后我们得到两个可能的工作结果,

I am trying to remove an annoying flickering effect on jqmobile transitions when running on iOS 5. I tried several methods from other posts like -webkit-backface and did some other work but does not reach complete solution. I observed that flickr occurs when, before transition, page is repositioned due to navigation bar is displaced one pixel (maybe 2) from top. Problem begins on initialization or after device rotation when page is rerendered and then we got two possible working results,


  1. 工作时没有闪烁并且预期每个过渡。

  2. 在描述的每个转换中落下眨眼。

当然,问题是在新页面渲染时你会随机获得1或2个。谢谢。

problem, of course, is that you get 1 or 2 randomly when new page render. Thank you.

推荐答案

方法的组合这里应该做的伎俩...

A combination of the methods here should do the trick...

对于有这个问题的其他人,OP说

For others who have this problem, the OP said that


主要是数据位置,webkit背面和其他人没有提供完整的解决方案我从github链接上发布的jqmobile 1.0设置了自定义css从你建议并最终工作

Mainly data-position, webkit backface and others not provide a full solution and I set a custom css from jqmobile 1.0 posted on a github link from suggested by you and finally works

这篇关于iOS5 + jquery-mobile转换闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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