photo_view
photo_view copied to clipboard
[BUG] Cannot rotate + zoom corners
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.
@beriaanirudh using enablePanAlways: true works
This property doesn't exist for PhotoViewGalleryPageOptions.customChild. Is there any alternative property for gallery photos ?
- 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)