Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Accidental Closing of Form #386

Open
janine9vn opened this issue Dec 26, 2021 · 0 comments · May be fixed by #311
Open

Prevent Accidental Closing of Form #386

janine9vn opened this issue Dec 26, 2021 · 0 comments · May be fixed by #311

Comments

@janine9vn
Copy link
Contributor

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.

@janine9vn janine9vn linked a pull request Dec 26, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant