zIndex works in iOS but not working in Android (even after 0.48.2) #15994
Labels
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Resolution: Locked
This issue was locked by the bot.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
:react-native-cli: 2.0.1
react-native: 0.48.2
node -v
:v6.3.0
npm -v
:5.4.0
yarn --version
:1.0.1
Then, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
First of all, the images should be visible. Second, when visible, those images can be pressed and dragged to left or right. As per the code, when I press on the left image and slide it to right, since its zIndex will increase, it should come above the right image when dragged right. Same will happen for the right image when dragged to the left side (i.e. this time right image would come above left image)
Actual Behavior
Due to some bug, even though, the above code works properly in iOS, in Android specifically, it gives this bug due to which images are not visible (just because they have zIndex assigned)
Also, I've gone through #15713 , #8968 and #15203
They state that the bug got fixed in 0.48 and 0.48.2 , but as you can see in the reproducible demo below, it still exists in 0.48.2.
Reproducible Demo
https://snack.expo.io/HkJ4M_T5W
Anyone has any idea what's wrong since this bug is still happening in 0.48.2 for Android (yet working for iOS)?
The text was updated successfully, but these errors were encountered: