react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

Text Highlighting feature

Open Raheel1258 opened this issue 4 years ago • 3 comments

Pdf annotation is not working, I want to highlight the selected text please let me know if it if possible. below is my code for calling react-native-pdf.

<Pdf ref={(pdf) => { setPdf(pdf) }} enableAnnotationRendering={true} source={source} onLoadComplete={(numberOfPages, filePath) => { console.log(number of pages: ${numberOfPages}); }} onPageChanged={(page, numberOfPages) => { console.log(current page: ${page}); }} onError={(error) => { console.log(error); }} onPressLink={(uri) => { console.log(Link presse: ${uri}) }} style={styles.pdf} />

What react-native version are you using? 0.62.2 What react-native-pdf version are you using? 6.2.2 What platform does your issue occur on? (android/ios/both) both

Raheel1258 avatar Dec 10 '20 13:12 Raheel1258

@Raheel1258 have you implemented the same feature if yes can you provide me the solution?

anshumanburman avatar Feb 10 '21 08:02 anshumanburman

Is there any update on this feature? Is it possible?

av8ramit avatar Oct 24 '23 17:10 av8ramit

+1 Any updates regarding search and highlight text in PDF? @Raheel1258 Have you found any RN solution for that?

anaelmashinsky avatar Jan 31 '24 09:01 anaelmashinsky