Skip to content

Support double-tap-drag gesture to select a block of text #64550

Description

@dave

Use case

In native iOS text fields, double-tapping on text followed by a drag selects a block of text. In flutter apps this doesn't happen.

Proposal

We should support this gesture.

Activity

  1. dave commented on Aug 25, 2020

    @dave
    Author

    This is related to: #63576

  2. added
    a: fidelityMatching the OEM platforms better
    a: typographyText rendering, possibly libtxt
    frameworkflutter/packages/flutter repository. See also f: labels.
    platform-iosiOS applications specifically
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    on Aug 25, 2020
  3. added
    a: text inputEntering text in a text field or keyboard related problems
    p: cupertino_uicupertino_ui package in flutter/packages
    p: material_uimaterial_ui package in flutter/packages
    and removed
    a: fidelityMatching the OEM platforms better
    a: typographyText rendering, possibly libtxt
    on Aug 25, 2020
  4. HansMuller commented on Aug 25, 2020

    @HansMuller
    Contributor
  5. justinmc commented on Aug 25, 2020

    @justinmc
    Contributor

    Thanks for the issue, I agree. Long-press-and-drag currently does work (except in SelectableText #63994), and double-tap-and-drag should do the same thing I think.

  6. Renzo-Olivares commented on Jan 5, 2023

    @Renzo-Olivares
    Contributor

    Closed by #117502

  7. github-actions commented on Mar 4, 2023

    @github-actions

    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 -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagesp: material_uimaterial_ui package in flutter/packagesplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions