The width of the first element fluctuates when using fillParentMaxSize inside a LazyRow, is it a bug...
d
The width of the first element fluctuates when using fillParentMaxSize inside a LazyRow, is it a bug or am I doing something wrong?
Copy code
val colors = listOf(Color.Blue, Color.Yellow, Color.Green)

LazyRow(
    modifier = Modifier
        .fillMaxSize()
) {
    items(colors) { color ->
        Box(
            modifier = Modifier
                .fillParentMaxSize()
                .background(color)
        )
    }
}