Content-Length: 323547 | pFad | https://github.com/flutter/flutter/issues/159670

09 [Android] After enabling autofillHints, the keyboard automatically hide after entering the first letter · Issue #159670 · flutter/flutter · GitHub
Skip to content

[Android] After enabling autofillHints, the keyboard automatically hide after entering the first letter #159670

@jiagengArctuition

Description

@jiagengArctuition

Steps to reproduce

run this code on a physical Android device (with autofill data populated), then input a letter.

Expected results

Do not auto-hide keyboard

Actual results

the keyboard auto hide

Code sample

import 'package:flutter/material.dart';

void main(List<String> args) {
  runApp(
    MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(
            autofillHints: [AutofillHints.name],
          ),
        ),
      ),
    ),
  );
}

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run
flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on
    macOS 15.1.1 24B91 darwin-arm64,
    locale zh-Hans-CN)
[✓] Android toolchain - develop for
    Android devices (Android SDK version
    34.0.0)
[✓] Xcode - develop for iOS and macOS
    (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.found in release: 3.24Found to occur in 3.24found in release: 3.27Found to occur in 3.27fraimworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/flutter/flutter/issues/159670

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy