这是indexloc提供的服务,不要输入任何密码
Skip to content

[webview_flutter] Keyboard suggestions can be lost #37989

@mklim

Description

@mklim

To reproduce:

  1. Run webview_flutter/example v0.3.11+2 on an Android device using a soft keyboard that normally provides suggestions based on what's been previously typed in a text field.
  2. Tap into a text field. Observe that the soft keyboard is shown as expected.
  3. Enter text. Observe text is correctly entered.
  4. Minimize keyboard using the Android back button.
  5. Tap back into the same text field. Observe that keyboard is shown again as expected.

Expected: Keyboard should display suggestions related to the text field.
Actual: Keyboard does not display anything related to the current text.

This is related to flutter/plugins#1965. InputEvents are being incorrectly handled by WebView after WebView is resized. This could be an underlying issue in Chromium. We should try to reproduce with a non-Flutter app and file a Chromium bug if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsfound in release: 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyplatform-views: vdIssues specific to the Android VirtualDisplay platform views backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions