-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Android | WebViewWidget flickers when loading and resizing another Web View #148991
Labels
a: platform-views
Embedding Android/iOS views in Flutter apps
found in release: 3.22
Found to occur in 3.22
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
p: webview
The WebView plugin
P2
Important issues not at the top of the work list
package
flutter/packages repository. See also p: labels.
platform-android
Android applications specifically
team-android
Owned by Android platform team
triaged-android
Triaged by Android platform team
Comments
Thanks for the report. I was able to see flicker upon reloading as shown in below video: 148991.movstable, master flutter doctor -v
runnable code
|
@johnmccutchan Do you expect that the behavior seen here is a generic platform view problem as opposed to one with the webview implementation on android? |
I suspect this is a generic platform view problem. We probably have a frame where the size of the platform view is wrong leading to the fullscreen flicker. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: platform-views
Embedding Android/iOS views in Flutter apps
found in release: 3.22
Found to occur in 3.22
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
p: webview
The WebView plugin
P2
Important issues not at the top of the work list
package
flutter/packages repository. See also p: labels.
platform-android
Android applications specifically
team-android
Owned by Android platform team
triaged-android
Triaged by Android platform team
Steps to reproduce
Given the sample code and running on Android phones/emulators, click the Reload button to Reload the second WebViewWidget.
Expected results
Second Web View disappears and reappears when it finished loading.
Actual results
For a brief time, the contents on the second WebView appears on the first WebView. Depending on the dimensions, they could look a little smeared.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
WebViewScreen_recording_20240523_125038.mp4
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: