Skip to content

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

@moizirshad

Description

@moizirshad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions