PhotoSwipe icon indicating copy to clipboard operation
PhotoSwipe copied to clipboard

loop: false works only for sliding, not for arrow navigation

Open yoshkinawa opened this issue 6 years ago • 2 comments

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.

yoshkinawa avatar Dec 01 '19 12:12 yoshkinawa

Documented here https://github.com/dimsemenov/PhotoSwipe/blob/master/website/documentation/options.md#loop-boolean-true

andi34 avatar Aug 20 '20 20:08 andi34

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

andi34 avatar Aug 28 '20 15:08 andi34