I have a Spinner prototype using a LazyColumn, but the snapping behavior does not work when using the scroll wheel on Desktop
val itemHeight = 48.dp
val itemHeightModifier = modifier.height(itemHeight)
LazyColumn(
state = lazyListState,
flingBehavior = rememberSnapFlingBehavior(lazyListState = lazyListState),
horizontalAlignment = Alignment.CenterHorizontally,
modifier=itemHeightModifier.fillMaxWidth()
){
items(
cardsAllowed + 1,
key = { it }
){
Text(it.toString(), modifier=itemHeightModifier)
}
}