Data Binding Lists: Can't achieve a Bottom-Up Scroll? [additional problem with scroll values and ...
I’m building a daily task list app and I'm struggling with a specific layout scenario using Data Binding Lists. I want my list to populate from the bottom up, meaning the newest/bottom items sit at the very bottom of the screen, and if the list overflows, the user has to scroll down to see the rest.
UPDATE: I’ve found one of rive twitter posts about this problem and it suggests to change starting value of “scroll percant Y” to 100%, but the value goes back to 0 anyway.
The Goal:
Items should stack from bottom to top (e.g., 4, 3, 2, 1).
The default scroll position should be anchored to the very bottom of the list.
What I’ve tried:
Layout Settings: Artboard set to fixed fixed, layout set to fill (width) and hug (height), although I’ve checked every possible combination.
Scroll Percent Y Workaround: I tried to forcefully scroll the list to the bottom on initialization. I bound a Number property (set to 100) to the container's Scroll Percent Y. Unfortunately, this doesn't "catch". It seems the layout/list generation happens after the scroll percent is applied, so it resets or just ignores the 100% value.
Tutorials: I've watched all the layout and scrolling guides, but none cover this specific bottom-to-top scroll combination with dynamic Data Binding Lists.
No enough documentation on rive.app website.
task_(3).rev
Additionally, I’ve managed to make one example working by adding scroll index with data binding, but each time I click and want to drag the whole list “jumps” to other position. Any setting regarding layout children simply doesn’t work, or when the list is properly set to the bottom, the scroll itself is just elasticly snapping (second video).