Baseflow / Baseflow/PhotoView

Zoom doesn't work with double-tapes

Open
#674 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

Sometimes with a double-tap on the view, the zoom does not work.
After downloading the library and spreading the logs, I found a place where the code behaves differently than with a successful response.
PhotoViewAttacher -> OnGestureListener onGestureListener -> onScale
`if (getScale() < mMaxScale || scaleFactor < 1f) {...}`
This condition does not always work with double-tapes. Zoom does not work.
However, if you double-tap again, the zoom will work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.