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

Jank with Safari #38

Open
ghost opened this issue Dec 14, 2018 · 1 comment
Open

Jank with Safari #38

ghost opened this issue Dec 14, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 14, 2018

You demo works fine on Safari, but my code does not. I see rendering faults while the card is flipping, as if backface-visiblity:hidden isn't working.

P.S. I slowed the speed down and was surprised to see that as the card is flipping to the back side, the front side is upside down, but only on Safari.

no issues on Chrome.

I switched to a fork: https://github.com/kennethormandy/react-flipcard which works on Safari. Unfortunately, the animation style is missing some sweetness you have in yours, and I could not figure out what it was. So I really hope you get this working on Safari.

@ghost
Copy link
Author

ghost commented Dec 15, 2018

UPDATE: to fix the above problem, all I had to do was assign this style rule to .react-card-front and .react-card-back: "transformStyle: initial".

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

0 participants