Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Keyboard doesn't popup when focusing on Android Platform view that includes text fields #80961

Closed
Labels
P0Critical issues such as a build break or regressiona: platform-viewsEmbedding Android/iOS views in Flutter appsa: text inputEntering text in a text field or keyboard related problemscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: productengineflutter/engine related. See also e: labels.found in release: 2.0Found to occur in 2.0found in release: 2.1Found to occur in 2.1found in release: 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: duplicateIssue is closed as a duplicate of an existing issue
@jonasbark

Description

@jonasbark

Steps to Reproduce

  1. clonehttps://github.com/jonasbark/flutterfocus
  2. run on Android device

Expected results:
The keyboard should open up, allowing me to type in (using virtual display mode)

Actual results:
During virtual display mode, the keyboard won't open, not allowing me to enter anything
Only the hybrid mode opens the keyboard

However, when a Flutter TextField is added to the view (line 55 in main.dart) neither mode works at all with the Focus seemingly on both views at the same time.

We tried the following:

  • working with Focus widget (focus branch)
  • forcing focus on the platform view on the Android side (view.requestFocus())

Interestingly it's always possible to enter values into the ZIP code field (click on the far right entries to show it).

Details
Doctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel unknown, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale de-DE)[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)[✓] Xcode - develop for iOS and macOS[✓] Chrome - develop for the web[✓] Android Studio (version 4.1)[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)[✓] VS Code (version 1.55.2)[✓] Connected device (3 available)• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressiona: platform-viewsEmbedding Android/iOS views in Flutter appsa: text inputEntering text in a text field or keyboard related problemscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: productengineflutter/engine related. See also e: labels.found in release: 2.0Found to occur in 2.0found in release: 2.1Found to occur in 2.1found in release: 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp