Open cdwebdev opened 8 years ago
Set closeOnScroll: false
, more info in the documentation: http://photoswipe.com/documentation/options.html.
I thought that would do it. However when I set closeOnScroll to false, it does not let me scroll in desktop. Which I guess is ok as I am forced to close the image by clicking on the x. However on an actuall device I can scroll down when the image is open and the image closes. How do i prevent that from happening as well.
Try closeOnVerticalDrag: false
How do I configure Photoswipe such that when I scroll, the image does not automatically close. Please advise.