Scroll view fill Dynamic

Hi,

Is there a “right” way to add content to a scroll view Dynamically (at runtime and via script)? like does the height of the content change automatically,…?
I have a feeling no one really knows how to get everything out of this feature…
also, how can you make it snap to each item while swiping?

Thanks

Chances are that you will have to adjust the size of the content entity manually. I can’t see an attribute that autosizes. Same with the snapping of each item.

Thanks!

Any idea how i could make it snap? in code i mean. I don’t have a clue how to make that in javascript…

Assuming all the items are the same height and we are scrolling up/down. Check the scroll position and lerp it to the closest multiple of the item’s height.