Open habibrayhan007 opened 8 months ago
Hi @habibrayhan007
add this props enableDoubleTapZoom={false}
<Pdf ref={pdfRef} source={{ uri: url }} trustAllCerts={false} fitPolicy={0} enablePaging={true} enableDoubleTapZoom={false} spacing={0} onLoadComplete={(numberOfPages) => { setTotalPages(numberOfPages); }} onPageChanged={onPageChanged} style={{ flex: 1, borderRadius: 10, }} />
What
react-native
version are you using? "react-native": "0.72.4",What
react-native-pdf
version are you using? "react-native-pdf": "^6.7.3",What platform does your issue occur on? (android/ios/both) Both
Describe your issue as precisely as possible : 1) If I Double tap on pdf then It's Zoom in and Zoom Out. I want to disable double tap zoom functionality. Is there any way?
Show us the code you are using?