-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page onNavigatingFrom should allow for canceling #583
Comments
Was just about to raise this as an issue also. I would like to see this implemented. |
+1 |
This comment was marked as abuse.
This comment was marked as abuse.
I think on Android there are (in the meantime) some good ways to cancel back navigation:
On iOS as far as I know the only solution is to hide the BackButton (NavigationButton) with |
Say you have a data entry form that a user has filled out, but they have not filled out all required fields. Pressing the back button (on android) causes the app to go back, no way to cancel it at all. If the form is not properly filled out, you can't save the data so it's just lost.
We need to be able to respond to the onNavigatingFrom event in some manner that will cause the navigation event to be cancelled.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: