Comments (6)
Removing following enabled Links, Double Tap will stop working:
node_modules/react-native-pdf/ios/RNPDFPdf/RNPDFPdfView.mm
// Disable built-in double tap, so as not to conflict with custom recognizers.
- for (UIGestureRecognizer *recognizer in _pdfView.gestureRecognizers) {
- if ([recognizer isKindOfClass:[UITapGestureRecognizer class]]) {
- recognizer.enabled = NO;
- }
- }
- [_pdfView addGestureRecognizer:doubleTapEmptyRecognizer];
`
from react-native-pdf.
Could somebody explain why we need to disable system-provided UITapGestureRecognizer
for the enableDoubleTapZoom
to work? If so, I could maybe come up with a suggested fix.
Since disabling all UITapGestureRecognizer
s (as currently is the case) seems like a very brutal approach (which breaks other things).
from react-native-pdf.
Same issue for me. in android it is working fine but in IOS on pressing on links or any events are not working.
from react-native-pdf.
Any luck on this?
from react-native-pdf.
Facing same issue
from react-native-pdf.
Same issue +1
from react-native-pdf.
Related Issues (20)
- Pdf not loading first time in Android ,gives error open failed:ENONT HOT 8
- rn 0.73.8版本,android上不显示红色盖章和姓名
- HyperLinks on onPressLink is not working in IOS. HOT 9
- pdf file not fully 100% loaded... stops after 80-90% HOT 5
- Android: Does not work with any remote URL - Possible unhandled promise rejection (id: 2): Error: /data/user/... open failed: ENOENT (No such file or directory) HOT 12
- Cannot scroll inside GestureDetector on Android HOT 1
- Android crash: Segmentation violation (invalid memory reference)
- Android: Native crash app error "PDF renderer" HOT 2
- Annotations for Android HOT 2
- PDF zooming not working as expected for iOS
- scrollEnabled property is missing as available prop for pdf viewer
- blank screen (android 11 and above) HOT 2
- Android, v6.7.5 can not view fully content of document
- Zooming with singlepage true HOT 1
- iOS only - Exception thrown while executing UI block: - [RNPDFPdfView setOnClick:]: unrecognized selector send to instance HOT 2
- for expo 51 react-native-pdf is not working HOT 2
- Unable to open mach-O at path: default.metallib Error:2
- Landscape View cripples for whole App after PDF file is opened
- `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-pdf.