Dynamic slide height


#41

Yees! I’ve been battling with this issue for a while. I’ve tried many solutions and eventually came up with a half working one along those lines. This Works perfectly Thank you! @esase


#43

now my first active slide on page load having some display issue after adding:
ngAfterViewInit() {
this.slider.autoHeight = true;
}

But after swiping right and back to the initial page, the issue resolves. How to fix the slide issue for the first active slide that appear once page load?

This is the screenshot of the problem:-


#44

Bingo. But when i slide to the last element it hides all slides and can’t slide back


#45

I selected another way (better I think) I put all slides with dynamic heights inside a scrollable area. Like this:

<ion-slides>
    <ion-slide>
         <ion-scroll>A very big content</ion-scroll>  
    </ion-slide>
</ion-slides>

It avoids all my problems