Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Fix for mobile zoom issues #130

Open
mkondel opened this issue Aug 7, 2017 · 2 comments
Open

Fix for mobile zoom issues #130

mkondel opened this issue Aug 7, 2017 · 2 comments

Comments

@mkondel
Copy link

mkondel commented Aug 7, 2017

  • Problem:
    Mobile users can zoom into an open image by pinching. Any sliding left or right will trigger the swipe event. It is impossible to look around the zoomed in image, it will always load next/prev photo.
  • Suggestion:
    A simple solution could be to disable the swipe events while in a zoomed in state. How could this be done in photobox.js?
@mkondel
Copy link
Author

mkondel commented Aug 23, 2017

@yairEO, is this something you have encountered?

@mkondel mkondel closed this as completed Aug 23, 2017
@mkondel mkondel reopened this Aug 23, 2017
@yairEO
Copy link
Owner

yairEO commented Sep 2, 2017

It is a problem to detect if the pinch caused the zoom (and not setting the zoom manually in the browser or with the mouse CTRL+mousewheel)

There are discussions about it here:
https://stackoverflow.com/q/9818336/104380
https://stackoverflow.com/q/11517086/104380
https://stackoverflow.com/q/11183174/104380

But no answer is good.

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

No branches or pull requests

2 participants