cancel
Showing results for 
Search instead for 
Did you mean: 

How to get if an item is out of viewable container in scroll list

nico23
Senior II

So I have a scroll list with several elements and snapping set to true. The scroll list can show up to 3 elements on screen with no scrolling.

I can move the scrolling list both by scrolling and clicking two buttons (up and down) that basically use the animateToItem to move the scroll list to the first or last element.

Now, because I have to update an image according to the element shown on the scroll list, I need to know if the first element or the last element of the scroll list is visible.

Is there a way to do that or do I need to implement it myself?

0 REPLIES 0