You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(stack) and (tab) both technically match /, but due to the nested children / can never be matched. Commenting our this assertion fixes the issue, meaning we probably need to update the check to account for screens.
Expected behavior
A user should be able to navigate to /profile and /home given the above configuration.
Current behavior
If you have an app with routes
/home
and/profile
, each with their own navigator, then you'll get a collision error on the navigators.Here is the
linking
configuration:(stack)
and(tab)
both technically match/
, but due to the nested children/
can never be matched. Commenting our this assertion fixes the issue, meaning we probably need to update the check to account forscreens
.Expected behavior
A user should be able to navigate to
/profile
and/home
given the above configuration.Reproduction
https://snack.expo.dev/@bacon/conflicting-screen-bug
Platform
Packages
Environment
@react-navigation/native: ^6.0.12
(latest)The text was updated successfully, but these errors were encountered: