Skip to content
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] Cannot rotate + zoom corners #519

Open
beriaanirudh opened this issue Jul 16, 2022 · 3 comments
Open

[BUG] Cannot rotate + zoom corners #519

beriaanirudh opened this issue Jul 16, 2022 · 3 comments
Labels
bug Something isn't working P1
Projects

Comments

@beriaanirudh
Copy link

beriaanirudh commented Jul 16, 2022

Describe the bug: Take a portrait photo. Lets name top-left most point A. Rotate photo 90-degrees anti-clockwise (make it lanscape), zoom-in, now try to look at zoomed point A. We won't be able to scroll the photo to the point to see it.
PS: The same will happen for a bottom-left point in a landscape-photo.

To Reproduce: Attached a GIF. Any portrait photo will do.

Version: 0.14.0. This has always been the case.

My guess is that it is happening because the proportion of photo remains same, even when it is rotated. So, when pulling-area of the zoomed+rotated photo in one direction ends earlier than expected.

Peek 2022-07-16 12-46

@beriaanirudh beriaanirudh added the bug Something isn't working label Jul 16, 2022
@renancaraujo renancaraujo added this to Needs triage in Bug solving via automation Jul 22, 2022
@akshay-kapase
Copy link

akshay-kapase commented Dec 28, 2022

@beriaanirudh using enablePanAlways: true works

@bzkrterdm
Copy link

This property doesn't exist for PhotoViewGalleryPageOptions.customChild. Is there any alternative property for gallery photos ?

@duongtuancanhktpm
Copy link

  • I have the same issue with PhotoViewGallery.builder(), and do not know how to set enablePanAlways: true for this case.
  • In addition, I think add options Slider zoom in/zoom out, mouse scroll detection, change rotate buttons, next/previous buttons are very helpful. (I am adding it myself with a stack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
Bug solving
  
Needs triage
Development

No branches or pull requests

5 participants