Ionic fast scroll bar


#1

Hi all, I am a newbie to ionic framework. I use collection-repeat to display huge list.

But it takes lot of time to scroll to the desired item, I wonder if there is a fast scroll bar so that I can drag the bar and go to desired location directly?


#2

That would break the point of collection-repeat. This component is used to balance a number of displayed element so that scroll always feel natural. Even if you find a way to make it faster it could cause visual/functional problems with collection-repeat directive.


#3

you can add additional buttons or something like that to scroll to a section if you are using ng-repeat.
http://ionicframework.com/docs/api/service/$ionicScrollDelegate/
has a function called anchorScroll(), where can scroll to a dom-element with a defined id-Attribute


#4

Thanks @Gajotres and @bengtler ,I will take a look and try $ionicScrollDelegate.