react-navigation.github.io icon indicating copy to clipboard operation
react-navigation.github.io copied to clipboard

Update preventing-going-back.md

Open nandorojo opened this issue 3 years ago • 4 comments

Clarify that preventing going back doesn't work properly with native-stack.

nandorojo avatar Jun 30 '21 17:06 nandorojo

:heavy_check_mark: Deploy Preview for react-navigation-docs ready!

:hammer: Explore the source changes: 9c550d3367d2117779712ece129cd949a9c65b14

:mag: Inspect the deploy log: https://app.netlify.com/sites/react-navigation-docs/deploys/60dca99511cbd7000743be0d

:sunglasses: Browse the preview: https://deploy-preview-1017--react-navigation-docs.netlify.app

netlify[bot] avatar Jun 30 '21 17:06 netlify[bot]

Okay got it. I was using a custom back button where it works fine for me (calling goBack works).

nandorojo avatar Jul 01 '21 11:07 nandorojo

Example code not working: image

SimonAM avatar Aug 31 '21 05:08 SimonAM

This PR probably will need to be updated once we merge the PR concerning this in react-native-screens repo.

WoLewicki avatar Aug 31 '21 08:08 WoLewicki

Thanks for the PR. I'm closing this since we now have documented it under limitations: https://reactnavigation.org/docs/preventing-going-back/

satya164 avatar Oct 21 '22 10:10 satya164