Skip to content

Image hops on zoom #86

@cristinabuenahora

Description

@cristinabuenahora

I'm using the image viewer in container mode to display and image and it hops around my phone screen as I zoom in and out. For example, the image initially opens on 200 zoom with a width: 1960px, height: 790px, left: 0px, top: 674px. At this point, the image is near the bottom half of the screen. When I zoom in using my computer mouse wheel, the image now has width: 2254px, height: 908.5px, left: -51px, top: 160px. If I zoom out using my computer mouse wheel once again, the image now has width: 1920.8px, height: 774.2 px, left: 0, top: 674px so it's back on the bottom half of my screen. When I do this on my phone and pinch and zoom with my fingers, I get a dancing image on my screen (alternating between top and bottom). Seems to me like something is wrong with how the top number if being computed. Any ideas for how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions