-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: fidelityMatching the OEM platforms betterMatching the OEM platforms bettera: qualityA truly polished experienceA truly polished experiencea: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Currently, gestures related to text editing are handled by TextSelectionGestureDetectorBuilder, with no way to override these gestures practically without using IgnorePointer which blocks all default gestures defined on the text editing widget. The goal here is to build something analogous to the current keyboard shortcuts -> intents -> action system, with defaults that can be practically overwritten by the user.
☔️ To complete this issue we need:
- All pointer-related text editing interactions ported to Intents/Actions, like tapping, long pressing, etc. Text Editing Shortcuts/Intents/Actions #75004
- Support selection all text on triple click Support selecting all text on triple click #63576
- Support double tap drag gesture to select a block of text on iOS Support double-tap-drag gesture to select a block of text #64550
- Single tap on text field to display toolbar Single Tap on TextField does not display Toolbar #48434
- Hide selection toolbar when moving caret/handles Hide selection toolbar on iOS and Android when moving paddles/caret #62193
- Selection toolbar/handle should disappear when clicking outside of it Selection toolbar/handler should disappear when it is opened and user clicks outside of it #72029
- Textfield context menu does not show after focus switch TextField context menus do not show after focus switch #99707
Other issues of note:
- Textfield should receive callbacks from
TextSelectionGestureDetectorTextFieldshould receive the callbacks fromTextSelectionGestureDetector#35187
Jon-Salmon and jagmit
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: fidelityMatching the OEM platforms betterMatching the OEM platforms bettera: qualityA truly polished experienceA truly polished experiencea: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team