Repository navigation
EditableText should show a loupe on iOS when changing selection #9507
Description
Activity
- addedp: cupertino_uicupertino_ui package in flutter/packagescupertino_ui package in flutter/packages
on Apr 20, 2017 (Searchable keyword: magnifier)
Reacted by tedhenry100, Maxim Oransky, Sergey and Erica DuAlso 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
UITextViewinstead ofUIViewand to give the view a frame etc. Alternatively, we could reimplement ourselves.Reacted by tedhenry100 and Maxim OranskyHaving 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.
Reacted by tedhenry100 and Maxim Oransky- addeda: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problems
on Jul 21, 2017 Cupertino widgets work is not on our near-term priority list. Moving to next milestone.
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.
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
on Jul 22, 2018 - addeda: fidelityMatching the OEM platforms betterMatching the OEM platforms better
on Nov 26, 2018 SEO: magnifying glass
Reacted by Will Reppun, Calvin, Joel Hernández, tedhenry100, Maxim Oransky, Nihad Delic and Dominik Roszkowski- addedcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.
on Jan 2, 2019 30 remaining items
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.
Reacted by kaseyrossanderson, TheJulianJES, Jay Freeman (saurik), kduvnjak, Leonardo da Silva, DominikAbOQ, wav, KrivtsovIvan, Charles Han, Matthias Nehlsen and 6 moreReacted by Danny Valente, Jay Freeman (saurik), Leonardo da Silva, Matthias Nehlsen, Andy Mayer, Erica Du, Feofilov and Kelly JungReacted by FeofilovPutting 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 !
@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.
Reacted by Anthony OleinikReacted by jenkliu, Danny Valente, Feofilov and Nihad DelicAny 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.
Reacted by Barna Tóth@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!
Reacted by Ioseph MagnoFYI - 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 insuper_editor: https://github.com/superlistapp/super_editor/blob/main/super_editor/lib/src/infrastructure/platforms/ios/magnifier.dartReacted by Anthony Oleinik and Anton Malofeev- linked a pull request that will close this issueLoupe Android + iOS #107477
on Jul 12, 2022 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?
- 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 @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!Actually I spoke too soon, looks like longpress is currently broken but on the way soon: #108823
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 -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 25, 2022
Theme text selection for iOS.