-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
e: device-specificOnly manifests on certain devicesOnly manifests on certain devicesp: webviewThe WebView pluginThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-views: vdIssues specific to the Android VirtualDisplay platform views backendIssues specific to the Android VirtualDisplay platform views backend
Description
Web contents invisible when keyboard show in Android.
Steps to Reproduce
- Open WebView with
https://github.com/loginorhttps://github.com/login/oauth/authorize?client_id=xxxxxx&state=app&redirect_uri=xxxxxx. - Tap Username textInput show keyboard , then hide keyboard .
- Tap Password textInput show keyboard, then web contents invisible .
- As under shown gif :
ENV
This problem may be only appears in Huawei :
- webview_flutter: ^0.3.19+8
- HUAWEI P30pro - Android 10 / HUAWEI P20pro - Android 9.0 (bad)
- Redmi 5 plus - Android 8.1.0 (not reproduce)
- simulator API 29 (not reproduce)
Log
W/cr_AwAutofillManager(27666): WebView autofill is disabled because WebView isn't created with activity context.
I/InputMethodManager(27666): showSoftInput
I/InputMethodManager(27666): mServedView =com.shuyu.gsygithub.gsygithubappflutter;view =com.shuyu.gsygithub.gsygithubappflutter;flags =0
W/InputMethodManager(27666): startInputReason = 3
I/ViewRootImpl(27666): jank_removeInvalidNode all the node in jank list is out of time
I/ViewRootImpl(27666): jank_removeInvalidNode all the node in jank list is out of time
W/cr_AwAutofillManager(27666): WebView autofill is disabled because WebView isn't created with activity context.
W/InputMethodManager(27666): startInputReason = 3
I/InputMethodManager(27666): showSoftInput
I/InputMethodManager(27666): mServedView =com.shuyu.gsygithub.gsygithubappflutter;view =com.shuyu.gsygithub.gsygithubappflutter;flags =0
Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale
zh-Hans)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (3 available)
! Doctor found issues in 2 categories.
Kiruel, huntrist, exKAZUu, wurstnudl, onewkl and 1 more
Metadata
Metadata
Assignees
Labels
e: device-specificOnly manifests on certain devicesOnly manifests on certain devicesp: webviewThe WebView pluginThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-views: vdIssues specific to the Android VirtualDisplay platform views backendIssues specific to the Android VirtualDisplay platform views backend
