Skip to content

Android pinch-to-zoom zooms from center and shifts image on zoom-outΒ #226

@Salman-s10

Description

@Salman-s10

Issue Description

On Android, pinch-to-zoom in the image viewer zooms from the center instead of the pinch location. When zooming back out, the image shifts abruptly instead of smoothly returning to the center. Double-tap zoom sometimes gets affected by this behavior.

Steps to reproduce:

Open an image on Android.

Pinch to zoom on a specific portion.

Observe zooming from the center.

Zoom out and notice abrupt shift.

Double-tap a portion and notice interference.

Expected behavior:

Pinch-zoom should zoom relative to pinch location.

Zoom-out should smoothly center the image.

Double-tap zoom should work as expected.

Environment: Android devices; iOS works correctly.

Note: A pull request has been created to fix this issue: PR ##225

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions