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

Back button in nested stack is linked to root stack

Open Gujie-Novade opened this issue 7 years ago • 1 comments

When using nested stack, the top bar "back" button makes a pop on the root stack (and dismisses the entire nested stack).
Shouldn't it dismiss only the top screen of the nested stack? I saw this comment but it seems that the overrideBackPress option has been removed in v2.

Gujie-Novade avatar Apr 10 '19 01:04 Gujie-Novade

Actually I used a custom back button and that solved it. See https://github.com/wix/react-native-navigation/issues/4776#issuecomment-481996489

Gujie-Novade avatar Apr 11 '19 07:04 Gujie-Novade