Numpad input issue in web build
LimaneGaya opened this issue · 2 comments
LimaneGaya commented
Steps to reproduce
- Create new project
- Add TextField
- Export or run web
- Input numbers with numpad
Expected results
Each number to be entered
Actual results
Only 5 and 0 are correctly behaving and others behave like direction keys
"." in the numpad not working properly
Code sample
Code sample
import 'package:flutter/material.dart';
void main() => runApp(const MainApp());
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(
body: Center(
child: TextField(),
),
),
);
}
}
Screenshots or Video
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.22.0-36.0.pre.30, on KDE neon 6.0 6.5.0-35-generic, locale fr_FR.UTF-8)
• Flutter version 3.22.0-36.0.pre.30 on channel master at /home/gaya/software/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b98ffdc467 (il y a 18 heures), 2024-05-16 15:58:11 -0400
• Engine revision 1850def2cc
• Dart version 3.5.0 (build 3.5.0-161.0.dev)
• DevTools version 2.36.0-dev.10
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /home/gaya/software/androidsdk/
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /home/gaya/software/androidsdk/
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-122.04.1)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• Ubuntu clang version 14.0.0-1ubuntu1.1
• cmake version 3.29.0
• ninja version 1.10.1
• pkg-config version 0.29.2
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • KDE neon 6.0 6.5.0-35-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.60
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
talski commented
same here, it detects that num lock is disabled even if it's enabled