Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Use pagehide instead of unload#97

Open
mmso wants to merge 4 commits intomasterfrom
fix/unloadToPagehide
Open

Use pagehide instead of unload#97
mmso wants to merge 4 commits intomasterfrom
fix/unloadToPagehide

Conversation

@mmso
Copy link
Member

@mmso mmso commented Dec 26, 2019

According to https://developers.google.com/web/updates/2018/07/page-lifecycle-api unload is more or less deprecated. Pagehide can be used instead. This fixes https://github.com/ProtonMail/Angular/issues/9354 (and the angular project needs a separate pr)

@mmso mmso changed the title Fix/unload to pagehide Use pagehide instead of unload Dec 26, 2019
@mmso mmso force-pushed the fix/unloadToPagehide branch from ea27fd4 to 6e9fec7 Compare January 8, 2020 09:16
@proton-ci proton-ci force-pushed the fix/unloadToPagehide branch from 6e9fec7 to 105b163 Compare March 5, 2020 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant