Skip to content

Pause/Abort/Cancel a navigation action? #141

@yingdongzhang

Description

@yingdongzhang

Say I have a form on a screen, and I want to warn the user if there are unsaved changes on the form when the user taps the Back button, the transition should be paused until the user takes an action, if the user chooses to discard the changes, resume the transition, otherwise abort the transition and stay on the same screen.
Is it possible? I know how to capture the Navigation/BACK action by listening to the willBlur event, but how can I pause/abort/cancel the navigation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions