You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ion-slides (Swiper) autoHeight option doesn't adjust the container height to active slide #15079
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
If you use the ion-slides component with autoHeight option set to true, it doesn't adjust the ion-slides height to the active slide's content height as it supposed to.
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!
The PR #16712 is ready to go and now exposes the Swiper instance's updateAutoHeight() method to allow for programmatically forcing the swiper container to update the height for the active slide when using the autoHeight = true option with your ion-slides.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
ionitron-bot commentedon Nov 29, 2018
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!
Thank you for using Ionic!
ionitron-bot commentedon Nov 29, 2018
Issue moved to: ionic-team/ionic-v3#661
daem0ndev commentedon Dec 15, 2018
The PR #16712 is ready to go and now exposes the Swiper instance's updateAutoHeight() method to allow for programmatically forcing the swiper container to update the height for the active slide when using the autoHeight = true option with your ion-slides.
feat(slides): expose updateAutoHeight (#17208)
ionitron-bot commentedon Feb 21, 2019
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.