-
Notifications
You must be signed in to change notification settings - Fork 237
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
[BUG] Fire unload event #1948
Comments
It worked thank you very much. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description/Screenshot
I tried to migrate from 2.5.11 to 2.8.9 version for @microsoft/applicationinsights-web and i receive a new error in lighthouse.
The
unload
event does not fire reliably and listening for it can prevent browser optimizations like the Back-Forward Cache. Consider using thepagehide
orvisibilitychange
events instead.https://developer.chrome.com/blog/page-lifecycle-api/#the-unload-event
Steps to Reproduce
Migrate from @microsoft/applicationinsights-web 2.5.11 to 2.8.9 version and run lighthouse.
Expected behavior
The unload event should not be fired since is a issue in some browser https://developer.chrome.com/blog/page-lifecycle-api/#the-unload-event
Additional context
I'm not sure if in version 3 this is fixed but since this is beta new need a stable version.
The text was updated successfully, but these errors were encountered: