Skip to content

Feature Request: option to prevent navigating to the same destination #36

@ghost

Description

Suppose you have a simple button, when clicked it calls navController.navigate(destination).

Now, if you double-tap it or press it quickly multiple times, multiple navigate() calls will be invoked.

I'd love to prevent this kind of behavior, an option to prevent navigating to the same destination would be great.

Another option would be to expose some kind of property to let apps know navController is currently performing a navigation, so they could disable screen events during the transition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions