-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
React Navigation showing blank screen on Windows, when following basic template of Home and Details #10349
Comments
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
I am also having the same exact issue. Did you ever get passed this, @emanuelmartin? |
Here is my own repository with the issue. |
Same issue here with StackNavigator or NativeStackNavigator. Edit: As a workaround I use @react-navigation v4.x SwitchNavigator with |
I am having the same problem. Did anyone come up with a solution? |
Hey! Thanks for opening the issue. Windows and MacOS support in React Navigation is a community effort. We don't have the resources to test and maintain these platforms. Any help with fixing issues on these platforms is appreciated. Please feel free to open a PR to fix the issue. |
testing it I found that all stack functions work using drawer navigation |
I still don't know how to inspect the problem, but you can create using a drawer navigation, and hide there using drawerType: 'slide' in screenOptions |
@Victor0814gui Can you please provide us with your repo? I too am facing the same issue. |
@sachin9990 yes definitely, |
Any progress here? |
I had similar problems. I think react navigation doesn't work fine in Windows, I think it is due to uncompatible libraries versions, but I finally I got it working with these dependencies:
|
@sachin9990, I apologize for the delay, I completely forgot. Here is the link to a repository https://github.com/Victor0814gui/settings-11-clone. I tested it in debug and release modes, and it works well. |
I believe this might no longer be necessary as there is a PR that addressed this here: software-mansion/react-native-screens#1890. |
Current behavior
I'm using the basic template code from the guide at https://reactnavigation.org/docs/hello-react-navigation
When I tap to Details, it navigates properly
When I tap to Details... again, it navigates properly
When I tap to Go Back, it shows a blank screen
When I tap to Go to Home, it shows a blank screen
Tried also replacing
navigate('Home')
withpopToTop()
Clean project was created today
Expected behavior
To be able to navigate back, to home, to top or to Home component from Details screen
Reproduction
https://snack.expo.dev/Xu2pvXZKS
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: