Closed darron1217 closed 10 months ago
I'm using it and, as far as I can tell, by default the answer is no. The source code doesn't include selectable
when rendering <Text>
elements. That said, you can override the rendering rules, passing your own custom components. Doing that, you could add selectable
to each <Text>
element the library renders, thus making the text selectable.
any solution for this? @darron1217
You can use the userSelect
style prop.
In React native v0.71.0 that style prop was added which receives the standard CSS user-select values, mapping them to selectable
component prop using the map in that commit (userSelectToSelectableMap).
Does this plugin allows copying content? (selectable)