PhotoSwipe
PhotoSwipe copied to clipboard
loop: false works only for sliding, not for arrow navigation
when one defines: loop: false, this definition indeed prevent him to loop back to the first photo, if he is sliding images with his finger. But if one uses the navigation arrows, the loop is still enabled.
Documented here https://github.com/dimsemenov/PhotoSwipe/blob/master/website/documentation/options.md#loop-boolean-true
https://github.com/andi34/PhotoSwipe
Now also affects desktop UI on my fork, found that change in the open Pullrequests, also includes some more Bugfixes and new options.
If you like to test: https://codepen.io/andi34/pen/qBZRxgv