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

Pinch zoom inaccurate focus #1196

Open
syedabdulbaqi opened this issue Oct 24, 2021 · 2 comments
Open

Pinch zoom inaccurate focus #1196

syedabdulbaqi opened this issue Oct 24, 2021 · 2 comments

Comments

@syedabdulbaqi
Copy link

pinch-zoom always focuses on the center of the image. The accurate behavior would be to keep the focus of the zoom where the user is pinch-zooming.

Focus works fine for double-tap, but not for pinch-zoom.

@sachinchoolur
Copy link
Owner

This works fine for me. Which browser ad OS are you using?
Please note that the focus point might get updated to the nearest possible value when you zoom in using any edge of the images. The next release will be more focused on improving the zoom experience. I'll try to improve this behavior as well

@syedabdulbaqi
Copy link
Author

Chrome / Android 10.

First I thought there might be some implementation issue on my server. Then I tried demos on your website, and still the focus was incorrect. Please test this.

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

No branches or pull requests

2 participants