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

Modal Animation bug in safari #179

Open
Xemylb opened this issue Mar 6, 2018 · 2 comments
Open

Modal Animation bug in safari #179

Xemylb opened this issue Mar 6, 2018 · 2 comments

Comments

@Xemylb
Copy link

Xemylb commented Mar 6, 2018

https://media.giphy.com/media/1wq8UXgTzB8D6dL8K7/giphy.gif

@marc-becker
Copy link

Having the exact same issue on

macOS 10.13
Safari 11.0

@marc-becker
Copy link

So I have found the solution.

I limited the issue to the animation keyframes for the "comingIn" animation. Safari appears to have problems (or at least a weird behaviour) when rendering rotateX.

I then googled and came across this Stack post. So basically the solution is to add

-webkit-transform:translateZ(-1000px);

to .iziModal-overlay.

On (Mac) Safari and Chrome this solution seems to solve the issue (for Safari) and not cause any new ones for Chrome.

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