ScrollView snap to element

Hi guys! I have a ScrollView working, but I need to snap to the nearest element when the player release the touch. Any idea? Thanks!

You able to figure this out? OR anyone here?

I am looking to make one. Thanks!

Hi, what exactly do you want to achieve with the ScrollView?

I believe listview has scrollToItem option.

2 Likes

@kds I am looking for carousel that snap item to the center. You have any examples?

I don’t think there is a ready solution for that, at least I don’t see it.

I would check scrollToPercentVertical (if you want to scroll vertically) where percent is your “item” position (in %) inside the scroll container.

I haven’t checked ListView, but it also may work.

@kds Thanks!