Selectable texts on the Native app

0
Hi All, I am working on a native app and I want to make sure all texts are selectable and copiable(It can be also specific texts on the page). I tried to use the text area as non-editable(Text box is not working), it worked for IOS but not for Android. How can I make texts selectable on a native app? If there is any other solution to this problem, please let me know. Thank you! Regards,  Goktug
asked
1 answers
1

Hi Goktug,

 

There doesn't seem to be a simple way to achieve this. You could upvote this idea I found but there has not been alot of activity on it: https://community.mendix.com/link/space/mobile/ideas/3506

 

What you are looking for is probably the style object TextStyle. From the docs: this property set will allow you to style text – using these props you can control text’s font, selection status, and more (the text property set also contains layout properties)

https://docs.mendix.com/refguide/mobile/designing-mobile-user-interfaces/widget-styling-guide/

https://reactnative.dev/docs/text-style-props

answered