Page 1 of 1

Swiping images in gallery of only 2 images

Posted: 09 Jun 2016, 10:33
by Martin
I noticed a smaller bug.
When you've got a gallery that has only 2 images, you cannot endlessly swipe to the right (or left).
When you've got more than 2 images, this can be done.

For instance, when you've got 3 images:
You enlarge the first one and then you can swipe tot #2, then to #3, then to #1 and so on.

When you've got only 2 images:
You can enlarge the first one and then swipe to #2, but when you swipe again to the right, it stucks.
And the only way to see #1 again is to swipe in the other direction (to the left in this example).

But, as I said: only little buggie :-)

Re: Swiping images in gallery of only 2 images  Topic is solved

Posted: 09 Jun 2016, 11:14
by mjau-mjau
This is by design: loop only applies when there are 3 or more images. I guess you could argue that it should loop also with two images, but the idea here is that looping between two images doesn't make any functional sense. If there are 3 images or more, the loop provides a "shortcut" to get back to first image, without swiping backwards.

Re: Swiping images in gallery of only 2 images

Posted: 09 Jun 2016, 16:05
by Martin
Sounds reasonable ;-)