Skip to content

Prevent Accidental Closing of Form #386

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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