Repository navigation
[web] TextField broken on Firefox browser #69680
Copy link
Copy link
Closed
flutter-team-archive/engine
#22953Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsbrowser: firefoxonly manifests in Firefoxonly manifests in Firefoxengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.24Found to occur in 1.24Found to occur in 1.24has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Description
Steps to Reproduce
Use any TextField Widget:
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: TextFieldPage(
title: 'Textfield on FF',
),
);
}
}
class TextFieldPage extends StatefulWidget {
TextFieldPage({Key key, this.title}) : super(key: key);
final String title;
@override
_TextFieldPageState createState() => _TextFieldPageState();
}
class _TextFieldPageState extends State<TextFieldPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(child: TextField())
);
}
}
- Run web app on latest Firefox Browser.
- Click inside the text field and type any text. Text is shown in text field.
- Click outside of text field. The cursor stays in text field.
- Try to type again on the keyboard. Nothing happens.
- Click inside text field and try to type again: again, nothing happens.
Expected results:
Whenever the cursor is blinking inside the textfield, typing something on the keyboard text should be appended in the text field, as it is when using Chrome browser.
Actual results:
After doing an outside click, the text field no longer accepts any keyboard input.
Logs
Firefox 82.0.2 / Mac OS X 10.15
Logs are empty.
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H2 x86_64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
[✓] VS Code (version 1.50.1)
[✓] Connected device (2 available)
• No issues found!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsbrowser: firefoxonly manifests in Firefoxonly manifests in Firefoxengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.24Found to occur in 1.24Found to occur in 1.24has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Activity
pedromassangocode commentedon Nov 5, 2020
I was able to reproduce on latest master channel.
I can confirm that this does not reproduce on Chrome.
Cc @LongCatIsLooong
flutter doctor -v
github-actions commentedon Aug 8, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.