I have a lazy list that I am animating scroll to Item when clicking on a button.
onClick = {
scope.launch {
lazyListState.animateScrollToItem(selectedIndex)
}
}
Why is it that the animateScrollToItem is SO fast? Can I slow it down a little? I am not seeing anywhere I can add a animationSpec, and with animateScrollBy() I would need to pass in a float rather than an index - which I do not want.