Skip to content

Text selectable does not allow normal cursor text selection #906

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

Closed
ericvicenti opened this issue Nov 18, 2021 · 3 comments
Closed

Text selectable does not allow normal cursor text selection #906

ericvicenti opened this issue Nov 18, 2021 · 3 comments
Labels
Area: TextInput bug Something isn't working

Comments

@ericvicenti
Copy link

Environment

Steps to reproduce the bug

  <Text selectable={true}>
    "Selectable" text. Good luck selecting part of this string!
  </Text>

Expected Behavior

Expect the cursor to be able to click and drag to select part of the Text children

Actual Behavior

Screen Shot 2021-11-18 at 11 27 18 AM

Reproducible Demo

No response

Additional context

No response

@ericvicenti ericvicenti added the bug Something isn't working label Nov 18, 2021
@ghost ghost added the Needs: Triage 🔍 label Nov 18, 2021
@HeyImChris
Copy link

Thanks for filing- we're able to repro this as well. It looks like the macOS control is taking on some of the iOS behavior instead of being catered to desktop. Possible suspect is in rightMouseDown in RCTTextView.

@adriandiaz
Copy link

Are there any plans for this to get fixed?

@Saadnajmi
Copy link
Collaborator

This is fixed by #1346 and will be included in our next major release (currently planned to be 0.70)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: TextInput bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants