-
Notifications
You must be signed in to change notification settings - Fork 548
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
[BUG] Swiping through gallery doesn't work sometimes #541
Comments
Same error here, any solution? |
Same issue. Every first swipe it doesn't work: I/flutter (26851): Gesture arena 581 ❙ ★ Opening new gesture arena. Then on the second on it works: |
Is there a workaround ? |
same issue |
I think it's related to "android gesture navigation" because when this is disabled it works without issue. |
look this issues #383 |
Describe the bug
When using
photo_view
to swipe through photos in a gallery, swiping (horizontal drag gesture) doesn't work sometimes. I enableddebugPrintGestureArenaDiagnostics
and the logs gives an idea of what's happening internally.When swiping works:
When swiping doesn't work:
So at times
PhotoViewGestureRecognizer
wins instead ofHorizontalDragGestureRecognizer
which is causing this issue.To Reproduce
Use the example app (https://github.com/bluefireteam/photo_view/releases/tag/0.14.0) and go to "gallery". Open the first photo from the gallery and swipe to the next photo. The first swipe doesn't work, the second does. The bug comes up randomly too while swiping through photos.
What is the current behaviour?
Swiping (horizontal drag gesture) doesn't work sometimes.
Expected behaviour
Swiping will always work and shows next/prev photo.
Screenshots
https://github.com/bluefireteam/photo_view/assets/77285023/e8001129-3cd6-4399-a331-5103841b58bb
Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View?
Flutter v3.10.6
photo_view v0.14.0
Reproducible on both Android and iOS.
The text was updated successfully, but these errors were encountered: