Closed Lyd1223 closed 4 years ago
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 5.1.4
, latest: 5.3.2
)@react-navigation/bottom-tabs
(found: 5.2.5
, latest: 5.4.4
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.io. If it's not possible to repro it on snack.expo.io, then you can also provide the repro in a GitHub repository.
This occur error, please help me, how can I fix this problem?
Closing since you didn't provide a runnable repro. Please open a new issue if you have a runnable repro.
Current Behavior I want to navigate to a nesting navigator. I try to navigate from scanPage to equimentInfo or from warnData to workOrderDetail, it will show screen is not defined. But if I press the bottom tabs, and then I can navigate to that screen, which I want to go.
bottomNavigator home(Stack.Navigator) overView(screen) scanPage (screen) data(Stack.Navigator) assets(screen) equimetInfo(Tab.Navigator) warnData(screen) workOrder(Stack.Navigator) workOrderDetail(screen) workOrderLog(screen)
Expected Behavior
navigate to the screen
How to reproduce
this.props.navigation.navigate('WorkOrder', {screen: 'WorkOrderPage', params: {type:typeInfo, operatorType: 'add', warnInfo}})
Your Environment