Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] It only zooms into the center of the picture #538

Open
bzkrterdm opened this issue Jun 1, 2023 · 2 comments
Open

[BUG] It only zooms into the center of the picture #538

bzkrterdm opened this issue Jun 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bzkrterdm
Copy link

Describe the bug
PhotoView is only zooming to the center of the image. All gallery applications allow to you zoom anywhere in the picture. However, with this library, wherever I zoom into the image with a double tap or pinch, it only zooms to the center.

To Reproduce
Open an image or gallery, zoom to the right bottom corner of the image and you will see it will be zoomed to the center. Also, if you double-tap to the same part of the image it will be zoomed center again.

What is the current behavior?
Wherever I zoom into the image with a double tap or pinch, it only zooms to the center.

Expected behavior
Users have to see image zoomed with wherever user zoomed with a double-tap or pinch.

Screenshots

 Current  Expected
ezgif-5-5d143349ae   ezgif-5-e066a81ba2

Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View?
All versions and all OS.

@bzkrterdm bzkrterdm added the bug Something isn't working label Jun 1, 2023
@bzkrterdm bzkrterdm changed the title [BUG] Zooming is only for center of the image [BUG] It only zooms into the center of the picture Jun 1, 2023
@ElecSmurf
Copy link

Is there an update on this?

@alh67
Copy link

alh67 commented Mar 24, 2024

Any workaround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants