Ion-scroll and z-index


#1

I am trying to do something like this with the latest (beta-1) version.

<div style="z-index: 9999">some content that should stay above all</div>
<div>
    <ion-scroll>
        <p>enough content to require vertical scrolling</p>
    </ion-scroll>
</div>

The ion-scroll section works but the content appears on above my top div when I scroll. I want it to work the exact same way but under it.


Drag content over header
#2

You need to be using a fixed position

Something like : http://codepen.io/calendee/pen/yvzfB


#3

That works. Thanks for the detailed example.