-
Notifications
You must be signed in to change notification settings - Fork 360
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
Render error for map.reverse() in swipe project #3
Comments
@maidh91 Did you manage to find the solution for this? I am running into the exact same problem. |
@maidh91 Did you find the solution? |
If you are following the course on Udemy, you should be able to find several solutions to this in the Q&A section. If not, I'll try to share a solution in a couple of hours. |
@cemsterr Please do so, it would be useful. |
@krean93 Sorry for the late reply. It seems that having the zIndex properties set up as such in the AnimatedViews fixed the issue for me:
However, if this doesn't work for you, a follower of the course named John Caraballo has shared his solution as follows. The comments suggest that this works fine.
Hope this helped. |
I very very recommend @cemsterr 's solution. |
Hello,
In the swipe project, Deck.js render cards using map() and reverse() on the data.
Everything works fine in iOS simulator and real devices. However, in Android simulator and devices, the Card #1 is rendered behind the Card #2 for some reasons that I cannot figure out.
The text was updated successfully, but these errors were encountered: