jsdf/react-native-htmlview

Make HTML Text selectable

nikita-zot-1408 opened this issue · 4 comments

Is there any way with which we could make HTML text selectable? I digged documentation but could not find anything about this

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 ?

Hello! Any updates on this?

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.

@ansmlc Me too! Did you find the way to solve this problem eventually?