Dynamic slide height


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


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:-


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


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

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

It avoids all my problems