glide icon indicating copy to clipboard operation
glide copied to clipboard

Carousel glitches when looping back to the beginning slide

Open pimhakkert opened this issue 5 years ago • 3 comments

The carousel does some sort of glitch when you go from the last to the first slide or back. Any fixes? GIF: https://gyazo.com/ff7e38dd444d95f933ce8276583189d5

pimhakkert avatar Aug 08 '19 10:08 pimhakkert

Also having this issue,

codewithbjim avatar Aug 30 '19 04:08 codewithbjim

What might be a solution, is having the last set of visible slides be the same as the first set you see. Then transition to the last set as usual, and after that transition has been completed, hop back to the first view without any animation. That'd hopefully be invisible for the end user, no glitchy non-animated transitions. But I don't know how hard that would be to implement?

LeonidasJP avatar Oct 28 '19 14:10 LeonidasJP

This might help you. Turns out i forgot to convert my perView value to integer while it was a string. After converting it to integer, everything worked smooth again.

FukuwaMitzu avatar May 27 '23 01:05 FukuwaMitzu