# ionic2 : content in slides not scrolling

**URL:** <https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210>\
**Category:** ionic-v3\
**Created:** [April 24, 2016, 2:01am UTC](https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210 "2016-04-24T02:01:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![polska03](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@polska03](https://forum.ionicframework.com/u/polska03)\
**Post date:** [April 24, 2016, 2:01am UTC](https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210/1 "2016-04-24T02:01:49Z")

</div>

I have a couple of slides which have dynamic content that is added to them. The problem is the content inside of the slides doesn’t scroll. So if I have a lot of items only some show and there is no ability to slide. How can I make it so the content in my lists slides inside of their slides?

```
<ion-content>
    <ion-slides (change)="onSlideChanged($event)">
        <ion-slide >
            <ion-list>
			<ion-item *ngFor="#item of items1; #i = index">
			<h2>{{item}</h2>
			</ion-item>
            </ion-list>
        </ion-slide>
         <ion-slide>
                 <ion-list>
			<ion-item *ngFor="#item of items2; #i = index">
			<h2>{{item}</h2>
			</ion-item>
            </ion-list>
        </ion-slide>
    </ion-slides>
</ion-content>
```

---

<div class="post-metadata">

**Author:** ![Elfwine](https://avatars.discourse-cdn.com/v4/letter/e/58f4c7/32.png) [@Elfwine](https://forum.ionicframework.com/u/Elfwine)\
**Post date:** [April 24, 2016, 7:04pm UTC](https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210/2 "2016-04-24T19:04:43Z")

</div>

I have one solution : maybe not the best …

`<ion-slide style="overflow-y:scroll">`

---

<div class="post-metadata">

**Author:** ![polska03](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@polska03](https://forum.ionicframework.com/u/polska03)\
**Post date:** [April 24, 2016, 7:07pm UTC](https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210/3 "2016-04-24T19:07:35Z")

</div>

**EDIT:** Sorry I have actually implemented this fully and noticed there is a problem. When in the slide the top content starts to get cut off. If I place the content into a normal page without it being inside a slide none of the content is cut off.

Wow. I have spent so much time on this and it was that simple. Thanks so much it works exactly how I need it now!

---

<div class="post-metadata">

**Author:** ![Elfwine](https://avatars.discourse-cdn.com/v4/letter/e/58f4c7/32.png) [@Elfwine](https://forum.ionicframework.com/u/Elfwine)\
**Post date:** [April 24, 2016, 9:47pm UTC](https://forum.ionicframework.com/t/ionic2-content-in-slides-not-scrolling/50210/4 "2016-04-24T21:47:13Z")

</div>

ion-slide and ion-slider create a `<div class="slide-zoom"> </div>`. Put the height of .slide-zoom to 100%.

Mainly : [http://idangero.us/swiper/api/#.Vx07M\_mLSCg](http://idangero.us/swiper/api/#.Vx07M_mLSCg) provides all options you need to play with slides. I didn’t find something about slide-zoom inside it. The solution above work. Tell me you find a good option for the slide to fix this in a other way.

EDIT : To the Ionic Team, actually the slide component privide a zoom @input. How to use it in a pratical way ?
