You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non-editable TextInput text selection not working on android #7437
Hi!
On iOS, if you have a non-editable TextInput you can still select the text. On android for some reason this isn't possible. I don't know if this is a bug or if it is how it's intended to be, but it would be great if android also supported this. (A "selectable" prop for Text component would be even cooler :) ).
This would be a nice feature to have, I agree! Even better if we can specify what we want to add to the context menu, and callback into JS from it.. :)
Activity
radko93 commentedon May 8, 2016
I've tried to make it working using
view.setTextIsSelectable(true)but that does not help here. I think it's more related to android itself.brentvatne commentedon May 11, 2016
This would be a nice feature to have, I agree! Even better if we can specify what we want to add to the context menu, and callback into JS from it.. :)
brentvatne commentedon May 11, 2016
@vdrg - can you create an issue on ProductPains for this? Thanks!
vdrg commentedon May 12, 2016
https://productpains.com/post/react-native/select-text-in-text-elements someone was faster :P
lacker commentedon Oct 21, 2016
Since this is a feature request rather than a bug I am going to close this issue and point interested folks to product pains instead.