Skip to content

EditableText should show a loupe on iOS when changing selection #9507

Description

@xster

Theme text selection for iOS.

Activity

  1. added this to the milestone on Apr 20, 2017
  2. xster commented on Apr 20, 2017

    @xster
    MemberAuthor

    (Searchable keyword: magnifier)

  3. cbracken commented on Apr 21, 2017

    @cbracken
    Member

    Also worth noting that there are two different loupes for iOS, the round one for positioning and the rounded rect for selections.

    I've little digging on this and if we want to have iOS provide this for us, I suspect should be solvable with a little more work on top of what we need for #9344. We'd need to subclass UITextView instead of UIView and to give the view a frame etc. Alternatively, we could reimplement ourselves.

  4. xster commented on Apr 21, 2017

    @xster
    MemberAuthor

    Having iOS provide it for us could be neat. But we would have to solve the philosophical divergence with the existing implementation in text_selection.dart I'm afraid.

  5. added
    a: text inputEntering text in a text field or keyboard related problems
    on Jul 21, 2017
  6. Hixie commented on Dec 13, 2017

    @Hixie
    Contributor

    Cupertino widgets work is not on our near-term priority list. Moving to next milestone.

  7. modified the milestones: 3: Current Milestone, on Dec 13, 2017
  8. xster commented on Jun 4, 2018

    @xster
    MemberAuthor

    getting it from the OS would definitely be worth trying. It's a departure from the Android text selection UI but it seems reasonable for something users are unlikely to modify.

  9. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  10. goderbauer commented on Jan 2, 2019

    @goderbauer
    Member

    SEO: magnifying glass

  11. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Jan 2, 2019
  12. 30 remaining items

  13. justinmc commented on Jan 6, 2022

    @justinmc
    Contributor

    It's on my plate to get this implemented soon, for iOS and Android. No work done yet but I'll keep this updated. I agree that Flutter really needs this.

  14. jenkliu commented on May 18, 2022

    @jenkliu

    Putting in an upvote for this – text editing is a core part of our app so this would significantly improve the user experience!

    Any updates on when it'll be on the roadmap? Thanks @justinmc !

  15. justinmc commented on May 20, 2022

    @justinmc
    Contributor

    @jenkliu Yes, good timing! @antholeole is taking on this project and starting some preliminary research. We hope to ship something this summer for iOS and Android. We'll keep this issue and #17617 updated with any progress.

  16. iosephmagno commented on Jun 2, 2022

    @iosephmagno

    Any news about that? Magnifying glass is a core feature on ios textfield. Not having it looks like cross-platform, but even worse, common users would consider it just as a bug.

  17. antholeole commented on Jun 2, 2022

    @antholeole
    Contributor

    @iosephmagno I'm working on it: development of the loupe is in full swing. Design doc should be out later this week 👍

    We hear you - I want this feature in too!

  18. matthew-carroll commented on Jun 2, 2022

    @matthew-carroll
    Contributor

    FYI - For those of you who really need it, you can build a magnifier yourself. I can't promise that you'll be able to respond to the right gestures when you try to apply it to a Flutter EditableText. But if you want to see how to build your own, check out implementation in super_editor: https://github.com/superlistapp/super_editor/blob/main/super_editor/lib/src/infrastructure/platforms/ios/magnifier.dart

  19. linked a pull request that will close this issueLoupe Android + iOS #107477on Jul 12, 2022
  20. kellysjung commented on Jul 18, 2022

    @kellysjung

    I just wanted to make sure that this issue was also addressing the moving the cursor without long-press functionality? Based on the thread, it sounds like it is! Could we update the title?

  21. changed the title [-]EditableText should show a loupe on iOS when moving the cursor[/-] [+]EditableText should show a loupe on iOS when changing selection[/+] on Aug 8, 2022
  22. justinmc commented on Aug 8, 2022

    @justinmc
    Contributor

    @kellysjung Done, thanks for catching that. This should show the loupe in all of the same situations that native does. If it doesn't please let me know by opening an issue and tagging me!

  23. justinmc commented on Aug 11, 2022

    @justinmc
    Contributor

    Actually I spoke too soon, looks like longpress is currently broken but on the way soon: #108823

  24. github-actions commented on Aug 25, 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.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: mulligan (g3)frameworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagesp: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions