📸 Easy to use yet very customizable zoomable image widget for Flutter, Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.
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.
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)
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.