TGLParallaxCarousel icon indicating copy to clipboard operation
TGLParallaxCarousel copied to clipboard

How to hide repeating items at the end ?

Open gchoudhary26 opened this issue 8 years ago • 1 comments

I don't want to show the items at the end when all the items are scrolled, now there are two item shown again after i scroll to last item.

gchoudhary26 avatar May 26 '17 07:05 gchoudhary26

The "bug" is on your side.

I just had a similar problem and could see that the carouselItems:[TGLParallaxCarouselItem] var of the TGLParallaxCarousel is never cleared. Indeed, each call to reloadData appends to this array. I ended with 3 items just having one to show.

It would be useful to have a way to clear it (it could do it by itself).

A PR may come

Gorcyn avatar Jun 16 '17 14:06 Gorcyn