# Ion Content inside Slidebox can scroll and swipe

**URL:** <https://forum.ionicframework.com/t/ion-content-inside-slidebox-can-scroll-and-swipe/16903>\
**Category:** ionic-v1\
**Created:** [February 3, 2015, 8:02pm UTC](https://forum.ionicframework.com/t/ion-content-inside-slidebox-can-scroll-and-swipe/16903 "2015-02-03T20:02:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neilgoldman305](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/neilgoldman305/32/70477_2.png) [@neilgoldman305](https://forum.ionicframework.com/u/neilgoldman305)\
**Post date:** [February 3, 2015, 8:02pm UTC](https://forum.ionicframework.com/t/ion-content-inside-slidebox-can-scroll-and-swipe/16903/1 "2015-02-03T20:02:38Z")

</div>

Hi, I believe I’ve found a bug in beta14. I’m not sure if it is intended, but the issue isn’t in earlier versions, and the changelogs don’t seem to mention it.

When using an ion-slide-box where each slide contains an ion-content (or an ion-scroll), you are able to scroll the content vertically, while swiping the slides horizontally. In previous versions of Ionic, this behavior was locked to moving one at a time.

Here’s a codepen that reproduces the issue. Try grabbing the slide and moving horizontally, then vertically.

[http://codepen.io/squeaky-clean/pen/JorvzR](http://codepen.io/squeaky-clean/pen/JorvzR)

If you change the ionic.bundle.js to beta 13 or earlier, the issue disappears.

Thanks!

---

<div class="post-metadata">

**Author:** ![neilgoldman305](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/neilgoldman305/32/70477_2.png) [@neilgoldman305](https://forum.ionicframework.com/u/neilgoldman305)\
**Post date:** [February 3, 2015, 8:13pm UTC](https://forum.ionicframework.com/t/ion-content-inside-slidebox-can-scroll-and-swipe/16903/2 "2015-02-03T20:13:40Z")

</div>

Sorry for double posting, but I also have a related question. What is the best way to handle scrolling inside of ion-slides? Originally I was doing:

```
<ion-content>
    <ion-slide-box>
        <ion-slide>
            <ion-scroll>
                Content goes here
            </ion-scroll>
        </ion-slide>
    </ion-slide-box>
</ion-content>

```

But after seeing [this thread](http://forum.ionicframework.com/t/scroll-issue-with-ion-content-and-ion-slide-box/2906), I tried:

```
<ion-slide-box>
    <ion-slide>
        <ion-content>
                Content goes here
        </ion-content>
    </ion-slide>
</ion-slide-box>

```

There seem to be mixed opinions on which is better. In my case there was no noticeable difference, they both work fine. But I don’t want to have any unexpected surprises later!

Thanks again!

---

<div class="post-metadata">

**Author:** ![morrisonbrett](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/morrisonbrett/32/101358_2.png) [@morrisonbrett](https://forum.ionicframework.com/u/morrisonbrett)\
**Post date:** [August 21, 2016, 10:51pm UTC](https://forum.ionicframework.com/t/ion-content-inside-slidebox-can-scroll-and-swipe/16903/3 "2016-08-21T22:51:56Z")

</div>

For ionic 2, you need to use `<ion-slides>`. `<ion-slide-box>` has been deprecated.
