<Pdf
ref={pdfRef}
trustAllCerts={false}
source={source}
fitPolicy={2}
renderActivityIndicator={progress => {
// if (progress < 1) {
// // fyi seb: ugly hack to prevent the loading indicator from showing when the pdf is already loaded (on Android)
// return <></>;
// }
return (
We are using react-native-pdf 6.7.5 with react-native 0.73.0. It always zooms on center not on the tap point.
Expecting it to work like this. https://pspdfkit.com/guides/react-native/demo/
Does any one have solution?
Sample code
<Pdf ref={pdfRef} trustAllCerts={false} source={source} fitPolicy={2} renderActivityIndicator={progress => { // if (progress < 1) { // // fyi seb: ugly hack to prevent the loading indicator from showing when the pdf is already loaded (on Android) // return <></>; // } return (