Ionic 4 ion-slides height issue

I am using ion-slides to show 3 slides, when the slide is open the height was set to larger slider height , other slides having empty spaces how to solve this to get exact height for slides in ionic 4…


<ion-slides [options]=“slideOpts” (ionSlideDidChange)=“ionSlide($event);”>




Solved Thanks…

i did autoHeight = true, in slide options…

Show your slide code