# Is it possible to have auto height for sliders?

**URL:** <https://forum.ionicframework.com/t/is-it-possible-to-have-auto-height-for-sliders/79302>\
**Category:** ionic-v3\
**Created:** [February 12, 2017, 12:42am UTC](https://forum.ionicframework.com/t/is-it-possible-to-have-auto-height-for-sliders/79302 "2017-02-12T00:42:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stmc225](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@stmc225](https://forum.ionicframework.com/u/stmc225)\
**Post date:** [February 12, 2017, 12:42am UTC](https://forum.ionicframework.com/t/is-it-possible-to-have-auto-height-for-sliders/79302/1 "2017-02-12T00:42:14Z")

</div>

Is there anyway to automatically adjust the height of an Ionic 2 slider based on the content within the slides? I have a sliding card style that I also want to expand upon clicking, however, the height of the slider is restricting it. I’ve seen a couple posts about auto height, but they were for previous versions of ionic
