I don’t know if this is a common problem or not but when I run my app on my device, a lot of things are displayed in “reverse” and I can’t figure out why. Here’s how it looks when I run it on my device using Expo Client (this is a moving clip):
Here is a description of how things should look and do look when I run the app on simulator:
On the sign in screen, “Forgot password” is aligned correctly to the left of the password input box.
When I click “Create an account”, the screen transitions from left to right. The back button is on the top-left corner of the screen.
When I sign in and navigate to the home screen, the bottom menu items are correctly ordered from left to right: Apps - Camera - Navigate - Sign Out.
Here are some of my package.json details:
Is there some way to fix this? Has anyone else encountered this strange behavior? If so what is the solution?
Does this occur on both iOS and Android? Are you able to share your code or more ideally a repo that we can try and reproduce this on our end?
Here’s my repo:
I don’t have an Android phone so I can’t test my code to see if the problem persists.
Please let me know what you can find. Thanks!
I decided to delete and reinstall Expo Client from my iPhone and this fixed my issue. Thank you.
Interesting. Glad that fixed it. I’m going to bring this up internally so hopefully we can figure out what caused it in the first place.
I think that would be a good idea because when I was viewing another person’s project on my Expo Client the display was flipped too. It felt like the direction of the app was set to RTL rather than the default LTR direction.
Hopefully it’s just a glitch.
Thanks for the further update, Teresa! I’ll let you know what we discover.
We figured out the issue. If you view an experience that is set to RTL in the Client, all subsequent experiences will be rendered RTL as well. I created an issue here to track it: https://github.com/expo/expo/issues/2926
Thanks again for bringing this to our attention!
All the best,
Oooo maybe that’s what happened with me.
Thank you for looking into this for us! I’m sure it’ll come up again with someone else. Glad to know it’s not an issue with my project.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.