Skip to content

TextField should receive the callbacks from TextSelectionGestureDetector #35187

@ghost

Description

Currently, the TextField only receives the callback onTap, which is called after the _TextFieldState handles onSingleTapUp from its TextSelectionGestureDetector. The lack of other callbacks bothers, though.

Besides supporting all the callbacks from TextSelectionGestureDetector, the details (e.g. TapDownDetails) should also be forwarded, which is not the case with the currently implemented onTap callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions