Skip to content

SelectableText has no selection handle on iOS when long press  #59600

Closed
@nathanael-h

Description

@nathanael-h

Steps to Reproduce

  1. Create a new app with
    flutter create myapp
  2. In the main.dart, replace text with selectabletext :
SelectableText(
   'You have pushed the button this many 
),
  1. Run on Android, long press on the sentence, you can select and there are handles.
  2. Run on iOS, long press on the sentence, you can hit select all, but there is no handles.

Expected results:
I expect to have handles on iOS to select the text I want.

Actual results:
On iOS there is no handle. I can only hit select all.

flutter doctor --verbose

[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.14.6 18G4032, locale fr-FR)
    • Flutter version 1.17.3 at /Users/user919727/Downloads/flutter
    • Framework revision b041144f83 (il y a 12 jours), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/user919727/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted or
      run:
        sudo xcodebuild -runFirstLaunch
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2018.2.6)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms bettera: typographyText rendering, possibly libtxtf: material designflutter/packages/flutter/material repository.found in release: 1.17Found to occur in 1.17found in release: 1.20Found to occur in 1.20frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions