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

TextInputType.phone keyboard doesn't delete typed text when the keyboard is switched to extra symbols on Android #75616

Closed
Labels
P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowengineflutter/engine related. See also e: labels.found in release: 1.25Found to occur in 1.25found in release: 1.26Found to occur in 1.26has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specifically
@KhatibFX

Description

@KhatibFX

Steps to Reproduce

  1. Create a TextField with keyboardType as TextInputType.phone, as follows:
code sample
import'package:flutter/material.dart';voidmain() {runApp(MyApp());}classMyAppextendsStatelessWidget {// This widget is the root of your application.@overrideWidgetbuild(BuildContext context) {returnMaterialApp(      home:FirstRoute(),    );  }}classFirstRouteextendsStatelessWidget {@overrideWidgetbuild(BuildContext context) {returnScaffold(      appBar:AppBar(title:Text("Phone keyboard!")),      body:ListView(        children: [TextField(            keyboardType:TextInputType.phone,          )        ],      ),    );  }}
  1. Launch the app on Android (Emulator or Physical device)
  2. Focus the TextField and type anything using the on screen numpad.
  3. Tap theScreen Shot 2021-02-08 at 4 32 52 PM button to switch to symbols keyboard.
  4. While showing the symbols keyboard, tap theScreen Shot 2021-02-08 at 4 32 22 PM button to delete what you typed

Expected results:

The TextField input to be deleted

Actual results:

The TextField input isn't deleted

flutter doctor -v
Doctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-AE)[✓] Android toolchain - developfor Android devices (Android SDK version 30.0.2)[✓] Xcode - developfor iOS and macOS[✓] Chrome - developfor the web[✓] Android Studio (version 4.1)[✓] Connected device (3 available)• No issues found!

Sorry if this is a duplicate issue, I tried searching for a similar one but couldn't find any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowengineflutter/engine related. See also e: labels.found in release: 1.25Found to occur in 1.25found in release: 1.26Found to occur in 1.26has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specifically

    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