Closed Noitidart closed 6 years ago
Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?
I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.
Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes
Environment
Environment: OS: Windows 10 Node: 8.4.0 Yarn: 0.19.1 npm: 5.4.2 Watchman: Not Found Xcode: N/A Android Studio: Version 2.3.0.0 AI-162.3764568
Packages: (wanted => installed) react: 16.0.0 => 16.0.0 react-native: 0.51.0 => 0.51.0
Steps to Reproduce
We figured this bug out on Stackoverflow - https://stackoverflow.com/q/47817314/1828637
I see this behavior on both iOS and Android.Content within the card flashes (hides then reappears instantly) after the transform animation starts and animation ends when is in between degrees of 0.1-0.4.
This only happens if I do
rotate
,rotateY
, orrotateX
(untestedrotateZ
). I have no idea why.Here is screencast:
High quality webm - https://gfycat.com/SplendidCompetentEnglishpointer
Low quality gif:
My render code is this:
And my styles are:
Expected Behavior
Should not be invisible
Actual Behavior
Is invisible at these degrees
Reproducible Demo
No proejct but stackoverflow topic - https://stackoverflow.com/q/47817314/1828637
Here was a work around:
found it should be a bug of
transform
in react-native, showing view from0.1 deg
to0.4 deg
, and from-0.1 deg
to-0.4 deg
. Everything disappears within these degree.That can be easily proven, by set start degree to 0.1 ~ 0.4.
A quick workaround for this could be bypassing those Bermuda Degree: