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

Image hops on zoom #86

Open
cristinabuenahora opened this issue Jul 20, 2020 · 0 comments
Open

Image hops on zoom #86

cristinabuenahora opened this issue Jul 20, 2020 · 0 comments

Comments

@cristinabuenahora
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant