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] Rotating image on top of another image causes rendering defects #8229

Closed
ryankask opened this issue Jun 19, 2016 · 3 comments
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ryankask
Copy link
Contributor

ryankask commented Jun 19, 2016

I noticed that when rotating an image on top of a background image, the foreground image doesn't render properly and also causes other components to become distorted/disappear:

2016-06-19 at 17 02

Here is an RNplay.org snippet that show this: https://rnplay.org/apps/bgf0rA

I've noticed that there are some workarounds:

This isn't related but on Android the image looks 3d as it rotates. Is it possible to enable this on iOS?

This is happening on version 0.27.2 and 0.24.1 on rnplay.org

@zachgibson
Copy link

"Here is an RNplay.org snippet that show this: https://rnplay.org/apps/cMVf2Q" This looks just fine to me, no distortion or disappearance. And you can add perspective to your transform to make it activate a 3d space. Check this fork: https://rnplay.org/apps/ZncoFg

@ryankask
Copy link
Contributor Author

@zachgibson Sorry about that, I mixed up the link. The buggy version is here: https://rnplay.org/apps/bgf0rA. I've corrected the link above.

Thanks for the perspective tip! That seems to be the default on Android.

@mkonicek
Copy link
Contributor

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-rotating-image-on-top-of-another-image-causes-rendering-defects

ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top

Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants