Closed AlixH closed 1 year ago
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link, a www.typescriptlang.org/play link or link to a GitHub repo under your username).
Can you provide a minimal repro which demonstrates the issue? Please try to keep the repro as small as possible and make sure that we can run it without additional setup.
A repro will help us debug the issue. The issue will be closed automatically after a while if you don't provide a repro.
Couldn't find version numbers for the following packages in the issue:
react-native-tab-view
flipper-plugin-react-navigation
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 6.0.14
, latest: 6.0.16
)@react-navigation/drawer
(found: 6.5.1
, latest: 6.5.3
)@react-navigation/material-bottom-tabs
(found: 6.2.5
, latest: 6.2.7
)@react-navigation/stack
(found: 6.3.5
, latest: 6.3.7
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.
My issue disappeared when I removed conditional rendering of my root component's content
Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.
My issue disappeared when I removed conditional rendering of my root component's content
Thank you. It helps me a lot. I moved SafeAreaProvider inside of NavigationContainer because of SafeAreaProvider has conditional rendering its children depends on insets state
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 6.0.14
, latest: 6.1.17
)@react-navigation/drawer
(found: 6.5.1
, latest: 6.6.15
)@react-navigation/stack
(found: 6.3.5
, latest: 6.3.29
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
Hey @AlixH! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.
The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.
You can provide a repro using any of the following:
GitHub repo under your username
A snack link is preferred since it's the easiest way to both create and share a repro. If it's not possible to create a repro using a snack, link to a GitHub repo under your username is a good alternative. Don't link to a branch or specific file etc. as it won't be detected.
Try to keep the repro as small as possible by narrowing down the minimal amount of code needed to reproduce the issue. Don't link to your entire project or a project containing code unrelated to the issue. See "How to create a Minimal, Reproducible Example" for more information.
You can edit your original issue to include a link to the repro, or leave it as a comment. The issue will be closed automatically after a while if you don't provide a repro.
Current behavior
I have a NavigationContainer wrapping other nested containers. I am trying to dispatch navigation actions when opening a notification. To be sure that the navigation container is ready, I am dispatching the navigation actions inside the onReady prop callback. When I put the app to backround, the onReady prop callback is called Then, I tap a notification, the app is foregrounded, the navigation container is not ready, and the onReady callback never get fired until I put the app to background again
Expected behavior
I expect the onReady prop callback to be called when the app is in the foreground/being foregrounded. And even if it is called when backgrounding the app, I expect at least the navigation to be ready when foregrouding the app again
Root component code:
Platform
Packages
Environment