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

Zooming-in does not move the image to the correct position #74

Open
HunterGraubard opened this issue Apr 14, 2018 · 1 comment
Open
Labels

Comments

@HunterGraubard
Copy link

Steps to reproduce:

  1. Open a full size image in the viewer.
  2. Click down with the mouse, or touch down with a finger.

The expected result is that the image will zoom in to its full size, without moving the image at the point below the cursor/finger. For example, if you touch down on somebody's head, their head should remain under the cursor or finger as the image zooms in to its full size.

Instead, Zooming seems to move the image an excessive amount, moving it increasingly too much as you click further out from the center of the image. For example, on the Zooming demo page, open the first image on the page in the viewer. Then click down on the person's head. After the image zooms in further to its full-size, the cursor/finger ends up positioned at the person's feet, instead of their head.

For an example of the expected result, see PhotoSwipe's demo page: http://photoswipe.com

@kingdido999
Copy link
Owner

Yes, this is a valid point which can be improved.

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

No branches or pull requests

2 participants