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

How to selectable text? #34

Closed
dhanangpratama opened this issue Oct 20, 2018 · 4 comments
Closed

How to selectable text? #34

dhanangpratama opened this issue Oct 20, 2018 · 4 comments

Comments

@dhanangpratama
Copy link

I cannot select text in Text component which is already selectable.

Here's my code:

<ViewMoreText numberOfLines={15} renderViewMore={this.renderViewMore} renderViewLess={this.renderViewLess} > <Text selectable={true}>{content}</Text> </ViewMoreText>

I appreciate any help. ^__^
Thank you!

@rubanraj54
Copy link

Any update for this issue?

@nlt2390
Copy link
Owner

nlt2390 commented Apr 30, 2019

@rubanraj54 sry still busy at the office. Will check when i have time. Thanks.

@nlt2390
Copy link
Owner

nlt2390 commented May 19, 2019

@rubanraj54 hi, this looks like a react-native issue facebook/react-native#13938

@nlt2390 nlt2390 closed this as completed May 7, 2020
@snooplyin
Copy link

This is not a react-native issue. Setting the ability to long press copy from the Text component as such <Text selectable={true}>{content}</Text> does not work when inside of the <ViewMoreText> wrapper as OP suggests. Works outside of this component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants