Skip to content

Add <Prompt beforeUnload> ? #3

Open
@mjackson

Description

@mjackson

We need the ability to prevent navigation in case the user decides to refresh the page. I was thinking we could do this w a <Prompt beforeUnload> prop that might be used in lieu of a message prop.

Related: Custom beforeunload messages are removed in Chrome 51. We should probably warn if someone tries to use both beforeUnload and message.

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