scrollTo list item?


If I have long list of items. Is there a way to trigger to focus to a specific list of items? (i mean scroll automatically to specific item on the list).
Let say, i have 100 items in the list.
And have a button to focus 80th item on the list when user clicks (should auto scroll and focus that item)

I know that with ionScroll ( we have ScrollTo() method, but for generic list, is there an easy way to do it?


1 Like

Any one??? scroll to an item?

I don’t know if you still need this, but I came up with this directive that allows you to easily do that: