-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#56949Closed
Copy link
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 problemsf: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform team
Description
I'm seeing this in Chrome 131 on MacOS Sequoia.
Stacktrace:
Uncaught DartError: Assertion failed: org-dartlang-sdk:///lib/_engine/engine/pointer_binding/event_position_helper.dart:80:10
targetElement == domElement
"The targeted input element must be the active input element"
at Object.throw_ [as throw] (errors.dart:307:3)
at Object.assertFailed (profile.dart:117:39)
at Object._computeOffsetForInputs (profile.dart:117:39)
at Object.computeEventOffsetToTarget (event_position_helper.dart:38:14)
at [_convertEventsToPointerData] (pointer_binding.dart:1117:30)
at pointer_binding.dart:1045:9
at pointer_binding.dart:965:7
at loggedHandler (pointer_binding.dart:558:9)
at Object._callDartFunctionFast1 (js_allow_interop_patch.dart:224:27)
at ret (js_allow_interop_patch.dart:84:15)
Code sample:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(
padding: const EdgeInsets.all(24.0),
child: TextField(),
),
],
),
),
));
}Repro steps:
- Click the text field to activate it.
- Hover over the text field.
- See errors thrown in the console.
rich-j, Terranic and ffs14k
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 problemsf: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform team