Make HTML Text selectable
nikita-zot-1408 opened this issue · 4 comments
nikita-zot-1408 commented
Is there any way with which we could make HTML text selectable? I digged documentation but could not find anything about this
hendradedis commented
i think i have same issue , anyone can help
iam try
<HTMLView
value={data.content}
stylesheet={GlobalStyle.HTMLStyleSheet}
onLinkPress={(url) => handleLinkClicked(url)} // TODO: handle url pressed
textComponentProps={{selectable:true}}
/>
what wrong in code ?
lalbuquerque commented
Hello! Any updates on this?
ansmlc commented
Sorry to see selectable text is not yet supported. I came here exploring an alternative to ‘react-native-render-html’ for this very reason. The said plugin supports the ‘selectable:true’ option but it’s functionality is limited in iOS.