Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to disable content scrolling?

$
0
0

You can use $ionicScrollDelegate.freezeAllScrolls(true);

It doesn't work straight off the bat - you need to wrap it in a $timeout - although I don't like using timeouts if I can help it so there may may be a better way to do it than this.

This worked for me:

$timeout(function(){
$ionicScrollDelegate.freezeAllScrolls(true);
});

Hope this helps :smile:


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>