Git Product home page Git Product logo

Comments (6)

sacmii avatar sacmii commented on August 16, 2024 1

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.

bitcrumb avatar bitcrumb commented on August 16, 2024

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 UITapGestureRecognizers (as currently is the case) seems like a very brutal approach (which breaks other things).

from react-native-pdf.

TajGoud avatar TajGoud commented on August 16, 2024

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.

harrymash2006 avatar harrymash2006 commented on August 16, 2024

Any luck on this?

from react-native-pdf.

SruthiVj avatar SruthiVj commented on August 16, 2024

Facing same issue

from react-native-pdf.

aswin-clear avatar aswin-clear commented on August 16, 2024

Same issue +1

from react-native-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.