Skip to content

Prevent Accidental Closing of Form #386

Open
@janine9vn

Description

@janine9vn

Description

A user can currently accidentally close a form in-progress, losing everything they have so far typed out. We should do our best to ensure that this doesn't happen.

Implementation

The browser provides an API for prompting a user before they close the tab. You may have seen on different websites.

Refer to this Stackoverflow question as well as the MDN docs for this.

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