Skip to content

number keyboard doesn't work in TextField after update flutter to 3.22 #150191

@rafaelbenedetti1

Description

@rafaelbenedetti1

Steps to reproduce

  1. Create a new flutter project using v3.22
  2. Create a Simple TextField
  3. Try digit a number using number keyboard (numpad)
  4. The keys which contains arrow (four, six, eight, two) isn't working and moves cursor

Expected results

I want to digit numbers using numpad

Actual results

When i try digit a four, six, eight, four and two, this keys moves cursor in a textfield,

Code sample

class MainApp extends StatelessWidget {
const MainApp({super.key});

@OverRide
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: TextFormField(),
),
),
);
}
}

Screenshots or Video

aaaaaaaa.mp4

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor summary (to see all details, run
flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on
Linux Mint 19.3 5.4.0-150-generic,
locale pt_BR.UTF-8)
[✓] Android toolchain - develop for Android devices
(Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.1.)
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3)
[✓] VS Code (version 1.85.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions