Is there a proper way to disable swiping/panning without disabling the zoom?
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?
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