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
Cannot navigate when zoomed into an image on mobile. #171
Comments
Hey, can you tell me on which phone you are and which browser? I can see a problem, that the image moves a little bit when pinching. I will take a look! |
Fixed |
Hello and thank you for your quick response. I am using iPhone with Safari and the problem remains. I will try to make a recording so you can see the exact behaviour I am talking about. I am also making the same test from Samsung with Chrome. And the problem is the same. Here is an example video recording of the problem: When I zoom in the centre of the image and try to go to the corners every second touch resets my position to the initial spot where I zoomed. |
No need to. A user posted a gif here: #168 |
Ok the bug was on the github page. I've loaded simple-lightbox.js 2.0.0 on that page. Now it works. Please reload sometimes or open with incognito tab. |
Ok now closed. |
Thank you very much!! Now it works like a charm. |
Hello and thank for your amazing work!
I found something that I think is worth mentioning. When I enter your website https://simplelightbox.com/ and open an image from my mobile phone the zoom works perfectly, however after the image is zoomed in, it can't navigate properly. Every second touch returns the image to the initial place of zoom.
In other words, if I zoom in the centre of the image and I want to navigate to the corners I get returned in the centre on my second touch.
I was wondering, could this be fixed?
The text was updated successfully, but these errors were encountered: