I currently am using Photoswipe. I would like to know how to prevent the image from closing each time I scroll away from the page.
Asked
Active
Viewed 516 times
1 Answers
1
It is unclear what you mean with "swipe away" (swipe up/down/left/right?), and you didn't provide any code that shows your implementation.
So, the only possible answer at this stage is: read the documentation. http://photoswipe.com/documentation/options.html
Those might be the options you are looking for:
closeOnScroll: false
closeOnVerticalDrag: false

T. Kuther
- 610
- 3
- 7