react-navigation.github.io
react-navigation.github.io copied to clipboard
Update preventing-going-back.md
Clarify that preventing going back doesn't work properly with native-stack
.
: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
Okay got it. I was using a custom back button where it works fine for me (calling goBack
works).
Example code not working:
This PR probably will need to be updated once we merge the PR concerning this in react-native-screens
repo.
Thanks for the PR. I'm closing this since we now have documented it under limitations: https://reactnavigation.org/docs/preventing-going-back/