Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Text] selectable does not work on android #4411

Closed
ddeath opened this issue May 17, 2024 · 2 comments
Closed

[Text] selectable does not work on android #4411

ddeath opened this issue May 17, 2024 · 2 comments
Labels

Comments

@ddeath
Copy link

ddeath commented May 17, 2024

Current behaviour

[Text] selectable does not work on android. I should be able to press and hold to select text, instead nothing happens

Expected behaviour

I should be able to press and hold to select text

How to reproduce?

Add:
<Text selectable={true}>Testing</Text>

and try to select text on android.

Preview

What have you tried so far?

I tried to use Text from react-native instead and selection works there.

Your Environment

software version
ios x
android 15
react-native 0.74.1
react-native-paper 5.12.3
node x.x.x
npm or yarn x.x.x
expo sdk 51.0.4
@ddeath ddeath added the bug label May 17, 2024
@seb-zabielski
Copy link

Hey @ddeath

I have not been able to reproduce it.

Can you provide more details:

  1. Do you have a custom theme provided?
  2. Is the text inside another component (such as FlatList)?
  3. Were you able to reproduce it on another device/emulator?

@ddeath
Copy link
Author

ddeath commented Jun 5, 2024

Hi, I am trying to replicate it on fresh repo, but I am unable to do so. Probably some weirdness in other app. I think we can close this.

@ddeath ddeath closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants