Skip to content

Blocking navigation (onBeforeNavigate?) #593

Answered by grahammendick
alexstanbury asked this question in Q&A
Discussion options

You must be logged in to vote

Yea, onBeforeNavigate blocks navigation but only if it happens in React first. It can't block navigations that happen on the native side first. So I'm guessing the 'glitchy behaviour' you're seeing is on iOS when you swipe/press back?

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@grahammendick
Comment options

@FluffyDiscord
Comment options

@grahammendick
Comment options

@FluffyDiscord
Comment options

@grahammendick
Comment options

Answer selected by grahammendick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants