Zoom doesn't work with double-tapes
Open
- 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
Assessment
This issue has not been assessed yet.