-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Confirmation dialog (onbeforeunload) displayed after popped from webview page #337
Comments
And it's not localized too. |
Fixed! Instead, I think the localization depends on the language you set on the smartphone. For example, I see the same message but In Italian on my smartphone. |
pichillilorenzo
pushed a commit
that referenced
this issue
May 21, 2020
This was referenced Jul 6, 2020
Closed
Closed
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Flutter version: 1.17.0 (stable)
Plugin version: 3.1.0
Android version: Android 10
Description
This issue will occur if a web page is using
onbeforeunload
to control page reload or close. An example would be onbeforeunload .Expected behavior: Closing a webView without any confirmation, or prevent pop before confirmed/cancelled.
Current behavior: A dialog shown after popped.
Steps to reproduce
Navigator.pop(context)
.Images
A dialog shown after the webview has been popped.
The text was updated successfully, but these errors were encountered: