-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnTap PDF to some buttons appear #76
Comments
You can use the following code .
|
onTapDown has a slight delay as compared to onTap so it may seem undesirable in some cases. I was working on a workaround and I have finally got a satisfactory result. This should detect taps while letting through other gestures. It involves extending the OneSequenceGestureRecognizer class and overriding its methods. Here is the code:
And now, add it to the gestureRecognizers argument of PDFView:
It might seem a bit long but it works pretty good. Hope it helps! :) |
Thank you so much for the help of both , its works very well. |
In the application I am developing, I needed that when I click on the PDF just once (onTap), some buttons appear under the PDF. But InkWell and gestureDetector are not working with PDFView. How could I implement gestureRecognizers to do this?
The text was updated successfully, but these errors were encountered: