zhangxinxu / mobilebone

Single Page Switching bone(include page manage, events manage) for mobile web APP, Hybrid APP, Phonegap, PPT, Single-Screen PC page...
http://www.zhangxinxu.com/wordpress/?p=4381
MIT License
1.4k stars 327 forks source link

安卓手机在微信浏览器上动画不流畅 #205

Open tormentyoung opened 8 years ago

tormentyoung commented 8 years ago

有如下几个问题 1、安卓手机上在微信浏览器动画不流畅,滑动的时候出现大量空白,衔接不上,把动画过程设长一点的时候发现屏幕会闪烁,在meizu pro5和华为mate7上有这种现象, 2、安卓机上过场动画pagein没有动画效果,pagein会有,这个可以通过设置动画延时解决, .slide.out, .slide.in { -webkit-animation-timing-function: ease-out; -webkit-animation-duration: 300ms; animation-timing-function: ease-out; animation-duration: 300ms; -webkit-animation-delay:19ms; animation-delay:19ms; } 3、另外在ios下,ajax请求时过场动画中间有空隙,这个可以通过在ajax请求完成时设置延时解决 setTimeout(function(){ Mobilebone.createPage(response, aOrFormOrObj, params); }, 15); 以上是个人遇到的问题和一些经验,第一个问题还没有好的解决办法,希望有解决过的童鞋分享下经验。

zhangxinxu commented 8 years ago

欢迎pull request 共同参与建设。