How can i scroll my screen only in one direction , how can i only scroll up(down)


#1

Hello every one,I have a slide box in my App at the top of screen ,
my problem is:
wenn i change the slide, meanwhile drag down the screen, the slide box is changing and other screen content will scroll down at the same time,it’s not good looking and i don’t want this.

My idea would be , if content not able to drag(scroll) down, it may help me avoid that problem.

Any idea?

Best regards


#2

[ion-content][1] has a some scrolling options (attributes) you can give it, you could try something like scoll=‘false’;
[1]: http://ionicframework.com/docs/api/directive/ionContent


#3

try $ionicScrollDelegate.freezeAllScrolls(false);