Skip to content

Support magnify glass (loupe) feature for text selection in TextField in Android P #17617

Closed

Description

@alanrussian

Android P changed the text cursor to have a magnifying preview above the user's finger. Editable text boxes in Flutter don't implement this. This inconsistency makes these text boxes feel broken to users who are on Android P.

https://9to5google.com/2018/03/07/android-p-dp1-text-zoom-tool-cursor/

Activity

  1. added
    platform-androidAndroid applications specifically
    p: material_uimaterial_ui package in flutter/packages
    a: fidelityMatching the OEM platforms better
    c: new featureNothing broken; request for a new capability
    on May 18, 2018
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  3. added
    a: text inputEntering text in a text field or keyboard related problems
    on Oct 24, 2018
  4. tedhenry100 commented on Jul 13, 2019

    @tedhenry100

    This is critical! I cannot see the cursor under my finger and the app feels broken!! I'm using TextFormField.

  5. charleshan commented on Dec 4, 2019

    @charleshan

    Can we change the title of this issue? It doesn't explain what the issue is, so it's not searchable.

    Maybe "Support magnify glass feature for text selection in TextField in Android P."

    I also agree with @tedhenry100. Text selection feels completely broken without this.

  6. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Mar 11, 2020
  7. changed the title [-]Android P style text cursor is not displayed for users on Android P[/-] [+]Support magnify glass (loupe) feature for text selection in TextField in Android P[/+] on Mar 23, 2020
  8. justinmc commented on Mar 23, 2020

    @justinmc
    Contributor

    I updated the title. Also note that a similar feature was requested for iOS before iOS 13 dropped the magnifying glass cursor: #9507

  9. 3 remaining items

  10. justinmc commented on Jun 23, 2021

    @justinmc
    Contributor

    The magnifying glass is now back in iOS as well, as mentioned in #9507 (comment).

  11. MobileSoftHK commented on Jan 14, 2022

    @MobileSoftHK

    Any update?

  12. lifelikejuly commented on Feb 23, 2022

    @lifelikejuly
  13. nilsreichardt commented on May 25, 2022

    @nilsreichardt
    Contributor

    For SelectionArea we have now the same issue: #104555

  14. iosephmagno commented on Jun 2, 2022

    @iosephmagno
  15. linked a pull request that will close this issueLoupe Android + iOS #107477on Jul 12, 2022
  16. antholeole commented on Aug 2, 2022

    @antholeole
    Contributor

    @iosephmagno Good news! the loupe PR landed and the loupe is now in flutter 😁

  17. iosephmagno commented on Aug 2, 2022

    @iosephmagno

    @antholeole great news! We must remain stick to our native wrapper for ios because we need that emojis are rendered with native-like size. But step by step flutter textfield will become usable on ios 👍

  18. iosephmagno commented on Aug 2, 2022

    @iosephmagno

    @antholeole eg. with current flutter textfield, we couldnt have this (see vid below). Emojis size would be very small (not native-like) and the feeling would be the one of a subpar app. But thank you very much for this pr. It is so good 👏

    IMG_1311.MOV
  19. nilsreichardt commented on Aug 2, 2022

    @nilsreichardt
    Contributor

    @antholeole Congrats 🎉 Amazing PR!

  20. antholeole commented on Aug 2, 2022

    @antholeole
    Contributor

    @antholeole Congrats 🎉 Amazing PR!

    Thanks so much :) glad you like it. Feel free to tag me if you find any bugs!

  21. github-actions commented on Aug 16, 2022

    @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.

  22. locked as resolved and limited conversation to collaborators on Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: mulligan (g3)frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesplatform-androidAndroid applications specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions