Alexander Maryanovsky
11/26/2024, 5:32 PMLazyListState.animateScrollToItem
to scroll forward such that the item’s bottom aligns to the bottom of the list? I was hoping animateScrollToItem(index+1, -viewportHeight)
would do the trick, but unfortunately it does a weird overscroll and then scroll back to position. Any other idea I’ve had involves knowing the height of the item.Alexander
11/26/2024, 11:19 PMStylianos Gakis
11/27/2024, 12:49 AMAlexander Maryanovsky
11/27/2024, 11:09 AMLazyListScope.items
is never even executed for non-visible items, so the BringIntoViewRequester
isn’t attached to any node.Alexander Maryanovsky
11/27/2024, 11:10 AMLazyList
itself because you don’t know the Rect
to pass to BringIntoViewRequester.bringIntoView
(because, again, you don’t know the item heights)