@tobiasduelli wrote:
I updated my Ionic 3 project to Ionic 4 and since then my slider first loads slide with index 0 and after some seconds it loads the initial slide. Could lazyloading be the problem?
.html
<ion-slides [options]="slideOpts" (ionSlideDidChange)="slideDidChange()" #myslides style="height:100%; width:100%;"> <ion-slide> <app-noticed-events style="height:100%; width:100%;"></app-noticed-events> </ion-slide> <ion-slide> <app-home style="height:100%; width:100%;"></app-home> </ion-slide> <ion-slide> <app-map style="height:100%; width:100%;"></app-map> </ion-slide> </ion-slides>.ts
slideOpts = {initialSlide:1, zoom: false}
Posts: 1
Participants: 1