Is there is any way to disable scroll?

I’m working on Ionic2 Rc.0 i tried to stop scrolling on custom page but i failed.
I tried to use that code:;
but its also not working.
so if any one can help me with that problem will be appreciated.

I use

.scroll-content {
    overflow-y: auto;

in my global css and it removes the scroll bar unless there is stuff that doesn’t fit on the page.


It’s actually not a class so you don’t need to use ‘.’ in front of the scroll-content.