Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在ios手机上加某些动画,背景图片会闪烁一下 #12

Closed
licong96 opened this issue Feb 5, 2018 · 2 comments
Closed

在ios手机上加某些动画,背景图片会闪烁一下 #12

licong96 opened this issue Feb 5, 2018 · 2 comments

Comments

@licong96
Copy link

licong96 commented Feb 5, 2018

我给页面的某些元素加了animate.css里面的一些动画,在ios11手机上切换动画,背景图片会消失出现白色背景然后又出现图片,类似于背景图片显示隐藏了一下,我以为是图片丢失了,所以给当前page页面加了红色背景,发现背景图消失的那一刹出现的还是白色背景。

只有给页面的元素使用一些特殊的动画才会出现,比如 flipInX、zommIn这些动画,而有些动画却没有问题。

这是测试地址

@littledu
Copy link
Member

littledu commented Feb 8, 2018

@licong96
image
看了下,flipInX 等都是3d动画,我试了去掉 page 的 perspective 属性就不会闪了。你可以试下

@licong96
Copy link
Author

@littledu 确实有用,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants