-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Is there a proper way to disable swiping/panning without disabling the zoom? #2050
Comments
Have you examples for such devices? I'm curious if this may also affect my websites. |
its most noticable on iOS with the back gesture in my xamarin webapp |
So you have a Xamarin web app and include PhotoSwipe 5 as Lightbox? Interesting. I guess, the way to go is to create event handlers. I just don't know if an event handler can cancel further processing. Also see: https://photoswipe.com/events/ |
i already went through them, even the undocumented ones, but none worked |
I've got the problem that some mobile devices are using gestures that interfere with properly swiping in the gallery. My plan is to prevent swiping alltogether for these devices and have them rely on the arrow buttons until i can update my app to account for the gestures.
However I cannot find a way to just disable panning without preventing all pointer event?
The text was updated successfully, but these errors were encountered: