-
-
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' does not work in gestureRecognizers property #133
Comments
the same issue for me and i tried
still not work for me on iOS |
oh,hell bro.I found the solution
but I found this handler will be a little slow to response.And sometimes it cannot be responded |
I tried same code but it didn't worked. |
I think is issue a flutter issue: flutter/flutter#52002 |
I found a solution for the issue. I was checking for the presense of onTapDown and added
But, it didn't work somehow. I was checking for other solutions and thought to add GestureDetector and detect tap from that. So, I just wrapped PDFView with a GestureDetector. Surprisingly, gestureRecognizers inside PDFView worked after adding GestureDetector() Widget. Since I was checking for onTapDown event with gestureRecognizers, I added onTap parameter in GestureDetector. My Widget looked like this:
Hope that helps... |
I need to get touch event in PDFView widget
Here my code
The text was updated successfully, but these errors were encountered: