huhx / compose_image_picker

📸 Image Picker for Jetpack Compose
MIT License
54 stars 4 forks source link

The position of first item in LazyVerticalGrid is incorrect #2

Closed huhx closed 2 years ago

huhx commented 2 years ago

When the first Tab or third Tab have more than three items(can fill in the whole line). And The middle Tab has less than three item, the issue occur.

image
huhx commented 2 years ago

This is due to the size of LazyVerticalGrid, add

modifier = Modifier.fillMaxSize(),