Ion-slides pager used pagination from other page


#1

As an example :
i have ion-slides with pager element on page 1 with two slides
and second page with ion-slides pager and ten slides.

when a return to prev page i see 10 bullets on slider


#2

i’ve fixed with this :

this.sliderOptions = {
autoplay: 3000,
onInit: (slides: any) => this.slider = slides

                    };

and

onPageWillEnter() {
if (this.slider) {
this.slider.updatePagination();
}
}


#3

I was having the same issue. I finally turned off pager all together as the documentation for ion-slides is sparse at best. I will have to try your solutuon. Thanks for sharing!!