react-navigation icon indicating copy to clipboard operation
react-navigation copied to clipboard

goBack() goes to 1st screen on windows! after updating from RN 0.64 to 0.74

Open asaadbaw opened this issue 7 months ago • 4 comments

Current behavior

I have navigation between native-stack and bottom-tabs. when I goBack() from native-stack it goes to the firest screen!

Expected behavior

It is working fine in both ios and android and also on react-native 0.64. Recently, I am working on updating to 0.74.

Reproduction

Not aviable

Platform

  • [ ] Android
  • [ ] iOS
  • [ ] Web
  • [X] Windows
  • [ ] MacOS

Packages

  • [X] @react-navigation/bottom-tabs
  • [ ] @react-navigation/drawer
  • [ ] @react-navigation/material-top-tabs
  • [ ] @react-navigation/stack
  • [X] @react-navigation/native-stack
  • [ ] react-native-tab-view

Environment

  • [x] I've removed the packages that I don't use
package version
@react-navigation/native ^6.1.17
@react-navigation/bottom-tabs ^6.5.20
@react-navigation/drawer ^6.6.15
@react-navigation/material-top-tabs ^6.6.13
@react-navigation/stack ^6.3.29
@react-navigation/native-stack ^6.9.26
react-native-safe-area-context ^4.10.5
react-native-screens ^3.32.0
react-native-gesture-handler ^2.17.1
react-native-reanimated ^3.12.1
react-native-tab-view ^3.5.2
react-native-pager-view ^6.3.3
react-native 0.74.2
expo -
node v18.18.0
npm or yarn yarn-3.6.4

asaadbaw avatar Jun 27 '24 14:06 asaadbaw