Skip to content

Conversation

@rohit9625
Copy link
Collaborator

Description (required)

Fixes #6571

What changes did you make and why?
We were consuming MotionEvent.ACTION_DOWN by returning true from the GestureListener inside OnSwipeTouchListener, i.e., responsible for swiping behaviors. So, I make that listener return false so that touch event can be handled by other gesture listeners as well, like DoubleTapGestureListener.

Tests performed (required)

Tested ProdDebug on Samsung A14 with API level 35.

Screenshots (for UI changes only)
None

@github-actions
Copy link

✅ Generated APK variants!

@rohit9625
Copy link
Collaborator Author

rohit9625 commented Nov 28, 2025

Hi @nicolas-raoul, I created this PR to test if the fix doesn't break swipe gestures. I've tested on my end, and it works as expected. I'm looking forward to your review before we merge this pull request.
Also, while working on this issue, I realized the need to refactor gesture listeners for the expected behavior. Currently, it is tough to predict the flow of code execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Double-tap zoom and image panning not working at the image viewer screen

1 participant