Took a look, not 100% sure what the issue is, but was able to work around it by calling update on the slides when they enter
import { Component, ViewChild } from '@angular/core';
import { ModalController, IonSlides } from '@ionic/angular';
@Component({
selector: 'app-filter-modal',
templateUrl: './filter-modal.component.html',
styleUrls: ['./filter-modal.component.scss'],
})
export class FilterModalComponent{
@ViewChild(IonSlides, {static: false}) slides: IonSlides;
slideOpts = {
initialSlide: 1,
speed: 400,
autoplay: true
};
constructor(private modalController: ModalController) { }
ionViewDidEnter(){
this.slides.update();
}
closeModal() {
this.modalController.dismiss(null, 'cancel');
}
}
Could you open an issue for this? Not sure where the problem is, but we can take a look