-
Notifications
You must be signed in to change notification settings - Fork 79
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
TF-2533 [Part-3] Replace beforeunload with pagehide #2808
TF-2533 [Part-3] Replace beforeunload with pagehide #2808
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need change it?. Please test on different browsers (Chrome/Safari/Firefox/Edge) to see if there is any difference?
|
Is there any official documentation about this? |
https://developer.chrome.com/docs/web-platform/page-lifecycle-api#the_unload_event |
This PR has been deployed to https://linagora.github.io/tmail-flutter/2808. |
3d6abda
to
99b7a98
Compare
Issue
Demo
Before
Screen.Recording.2024-04-16.at.15.26.24.mov
After
Screen.Recording.2024-04-16.at.15.18.15.mov