Repository navigation
text selection reacts only to SelectableText bounds #78909
Description
Activity
I'd like to also add that using a MacBook, I'm quite used to "tripple clicking" a paragraph and have it the entire paragraph be fully selected.
This does not currently work in Flutter web.
Thanks!
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 24, 2021 78909.mov
flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.4 19E2269 darwin-x64, locale en-GB) • Flutter version 2.0.3 at /Users/dhs/documents/Fluttersdk/flutter • Framework revision 4d7946a68d (5 days ago), 2021-03-18 17:24:33 -0700 • Engine revision 3459eb2436 • Dart version 2.12.2 [!] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.3, Build version 12C33 ! CocoaPods 1.9.3 out of date (1.10.0 is recommended). CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] VS Code (version 1.54.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.20.0 [✓] Connected device (3 available) • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator) • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.4 19E2269 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90 ! Doctor found issues in 1 category.- addedplatform-webWeb applications specificallyWeb applications specificallya: typographyText rendering, possibly libtxtText rendering, possibly libtxtp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.found in release: 2.0Found to occur in 2.0Found to occur in 2.0has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.and removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 24, 2021 @marwan-at-work what you are talking about is tracked in #63576
Reacted by Marwan Sulaiman and Justin McCandless- removedplatform-webWeb applications specificallyWeb applications specifically
on Mar 25, 2021 This is not web-specific, so removing the label.
- changed the title
[-][web] text selection reacts only to SelectableText bounds [/-][+]text selection reacts only to SelectableText bounds [/+]on Mar 25, 2021 2 remaining items
@HansMuller who is working on selectable text these days?
CC @chunhtai
How is this proposal progressing?
This reminds me of @jonahwilliams's recent text selection spikes: #86664 and #81849
Duplicate of #72029
creativecreatorormaybenot commented
on Mar 10, 2022 ContributorMore actions@nt4f04uNd is this really a duplicate of #72029? The issue description focuses on mobile and I agree that the issues should be very similar, but as we know the text selection on web vs. mobile on Flutter is implemented entirely differently.
They are both about web (the other issue is more about mobile behavior), but yeah, let's keep this one open to be sure both are properly fixed.
Actually, it seems a duplicate of #81839, which already has a design doc, discussion and an open PR in progress :)
- addedr: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue
on Mar 10, 2022 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 Mar 24, 2022
on web you can start/remove selection from any place of the page
in flutter you have to put the cursor directly into the bounds of SelectableText to start selection
and you can't tap outside it to cancel the selection as well - you have to click to another Selectable Text
code sample
flutter doctor -v
flutter.mp4
html.mp4