bluefireteam / photo_view

📸 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.
MIT License
1.91k stars 547 forks source link

[BUG] Cannot rotate + zoom corners #519

Open beriaanirudh opened 2 years ago

beriaanirudh commented 2 years ago

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

akshay-kapase commented 1 year ago

@beriaanirudh using enablePanAlways: true works

bzkrterdm commented 1 year ago

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

duongtuancanhktpm commented 7 months ago