Ionic 2 Slide Not Scrolling and Centered Content


#1

I have been trying to make ion-slide content scroll for several days now but it’s not working. Also for some reason the content is centered which is not what I want, I want the content to start from the top.

Please see my code below:


<ion-slides pager=“false” (change)=“onSlideChanged($event)”>

lorem

    <h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor distinctio ducimus ipsam quae porro obcaecati, consequatur ullam velit aperiam fugiat hic delectus. Voluptatibus aliquid doloremque sunt nihil ipsum, voluptatum ex.</h1>

    <h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor distinctio ducimus ipsam quae porro obcaecati, consequatur ullam velit aperiam fugiat hic delectus. Voluptatibus aliquid doloremque sunt nihil ipsum, voluptatum ex.</h1>

    <h1>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor distinctio ducimus ipsam quae porro obcaecati, consequatur ullam velit aperiam fugiat hic delectus. Voluptatibus aliquid doloremque sunt nihil ipsum, voluptatum ex.</h1>
</ion-slide>

<ion-slide style="background-color: blue">
    <h2>Slide 2</h2>
</ion-slide>

<ion-slide style="background-color: red">
    <h2>Slide 3</h2>
</ion-slide>

I appreciate any help. Thank you!