-
Notifications
You must be signed in to change notification settings - Fork 62
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
Dismount when changing url #115
Comments
I fixed this using the event triggered by the back button to update the alert state
|
In Chrome 77 "window.onpopstate" working only after user interaction.
|
Unfortunately, I get the same error:
|
When changing the url (clicking browsers back button), the component is unmounted, but still visible. Is it possible to hide then also the SweetAlert dialog? I tried it with
forceUpdate()
, but the rendering method is not called anymore aftercomponentWillUnmount()
.Thank you
The text was updated successfully, but these errors were encountered: