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.9k stars 546 forks source link

[When image is zoomed and you scroll the image the scroll stuck image not scrolling smoothly] #562

Open moizirshad opened 1 month ago

moizirshad commented 1 month ago

Describe the bug When zoomed in on an image using the PhotoView package, scrolling the image becomes choppy and gets stuck, preventing smooth scrolling. This issue occurs specifically when the image is zoomed in.

To Reproduce 1 - Use the PhotoView package to display an image in your Flutter app. 2 - Zoom in on the image. 3 - Attempt to scroll the zoomed-in image.

What is the current behavior? The image scrolls very little when zoomed in, and the scrolling feels stuck or choppy. This happens even when using different scroll physics like BouncingScrollPhysics

Expected behavior The image should scroll smoothly and quickly when zoomed in, similar to the native scrolling behavior in iOS or other applications. Scrolling should be responsive and not get stuck.

Screenshots Screenshot_1725004520

Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View? Flutter version: Flutter Channel stable, 3.13.0 Photo View version: 0.15.0

This issue persists in the latest version of the photo_view package. It may not have occurred in previous versions of the package.