i have an issue with the height of my pager the gr...
# compose
y
i have an issue with the height of my pager the green background is the pager size and the red one is the content size I got this Modifier on the pager
Copy code
Modifier
    .wrapContentHeight()
and this modifier on the content
Copy code
Modifier
    .heightIn(min = minHeight)
    .background(color = Color.Red)
    .onSizeChanged {
        with(density) {
            val height = it.height.toDp()
            if (height > minHeight) {
                minHeight = height
            }
        }
    },
for some reason the pager doesn't wrap around the content height and it takes the maximum size of its elements. some suggest that I should give beyondBoundsPageCount = page.size, but that is not possible for me because I have +1000 pages