Is there a way to stop scrolling programatically?


#1

I think a part of the speed issues I see using inifinite-scrolling is the fact that scrolling continues while items are added to the list and the visibility of the loading indicator is toggled. I would like to try to alter the infinite scrolling in a way that it stops any scrolling going on, display the $ionicLoading instead of the infinite scroller, add the items and wait for their DOM to render (see separate topic) and then hide the loader. While not super slick, this should reduce the stuttering experienced on Android devices.

So my question is: Is there a way to stop the scrolling operation? Since it probably is provided by the underlying web view it might not be possible to implement. But perhaps some one an point me in the right direction