-
Notifications
You must be signed in to change notification settings - Fork 13
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
Zooming should have priority over changing pages #4
Comments
I have tried to reproduce it but it seems okay when zooming.
|
@Mayb3Nots You are using ListView, the bug he encounter is within PageView ... I think you should This enhancement might solve this issue, disable all existing touch event when 2 finger tapped on the Image |
The video I showed you was using PageView. Can you guys provide a simple reproduction code |
The following code contains the problem that I tried showing + another weird behaviour. I was about to already file a new report on this, namely that the overlay entry doesn't spawn in the correct place when it is in an expanded widget. You can't see that in the video, but I constantly tried zooming in with different angles using 2 fingers.
Video: zoom_issue.mp4 |
Hello! Any update on this? It's even worse when you put the PageView in a ListView. |
First of all great job on this plugin. I am the developer of a similar plugin called pinch_zoom, but I was always struggling with some issues that this plugin doesn't have. Only one issue that my plugin managed to solve by using the InteractiveViewer, this plugin still has. Hopefully you might know a solution to this.
Describe the bug
When zooming in on an image in a PageView, the page will change instead of the image zooming in. Possibly this could be resolved using the OneSequenceGestureRecognizer or MultiDragGestureRecognizer.
In my plugin I managed to solve this even more when using the answer provided in https://stackoverflow.com/questions/51712287/how-to-disable-multi-touch-in-mobile-application-using-flutter/56037327#56037327, which I had to use since I couldn't solve the issue using GestureRecognizer solutions, simply since my plugin uses the InteractiveViewer and not that one.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image will zoom in instead of the page changing
The text was updated successfully, but these errors were encountered: