不知道有没有人遇到过,就是用css3做的动画在手机上,当手指在拖动屏幕的时候动画会停止不动了。。
由于我没用JS做过动画,所以不知道JS会不会有这个问题。
就想知道,这个问题有没有什么方法解决的。。还是说我写的有什么漏掉了。所以造成动画卡顿的了.
哦。对了。我只是在自己的安卓机上测试的。。
怪我咯2017-04-17 11:31:12
It seems that many people are like this. For example, when you drag the GIF page, it will also stop when you drag it on the mobile phone or app
PHP中文网2017-04-17 11:31:12
The performance of CSS animation will be different with different settings. I can give you an example:
For displacement animation, the efficiency of using from{coordinates} to {coordinates} and translateXY is very different. The former is stuck on the mobile phone. No, the latter is very smooth.