-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
warning the user if he tries to close the page (or navigate away) #474
Comments
Can i work on this issue |
aapatil2004
added a commit
to aapatil2004/taxonomy-editor
that referenced
this issue
Dec 14, 2024
aapatil2004
added a commit
to aapatil2004/taxonomy-editor
that referenced
this issue
Dec 18, 2024
Just to be precise, as reported on the PR, navigate away means:
While the first might be solved with beforeunload_event, |
aapatil2004
added a commit
to aapatil2004/taxonomy-editor
that referenced
this issue
Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As we have hasChanges I think there is a way to handle that by warning the user if he tries to close the page (or navigate away):
see https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event
It might be in another PR though.
Originally posted by @alexgarel in #468 (comment)
The text was updated successfully, but these errors were encountered: