Skip to content

Copy / Select / Select all menu is not displayed when selecting Text (ios only) #35997

@idanlevi1

Description

@idanlevi1

Description

I use selectable props in Text to give the user option to copy the text, I want the typical behavior in ios (show small menu with options like select, select all, copy...) but only "copy" option is shown
image

Version

0.68.2

Output of npx react-native info

System:
OS: macOS 12.0
CPU: (10) arm64 Apple M1 Pro
Memory: 885.97 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 19.2.0 - ~/.nvm/versions/node/v19.2.0/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v19.2.0/bin/npm
Watchman: 2022.12.12.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/isracardteam/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 15.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2

Steps to reproduce

use <Text selectable={true}>Some Text</Text>
and click and hold to select text using a text component on iOS

Snack, code example, screenshot, or link to a repository

<Text selectable={true}>Some Text</Text>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions