Hello, I'm trying to use the `LazyVerticalGrid` in...
# compose
e
Hello, I'm trying to use the
LazyVerticalGrid
inside the
HorizontalPager
provided by accompanist like this
Copy code
HorizontalPager(state = pagerState) {
  LazyVerticalGrid(
     state = scrollState,
     contentPadding = PaddingValues(10.dp),
     cells = GridCells.Fixed(2),
     content = {
       items(TestData.Product.data) { product ->
         ProductView(product = product)
       }
     }
  )
}
After doing this, the list scrolls with difficulty
s
I'm doing the same but it works fine for me. Can you explain what "difficulty" means here?
e
The scroll is not smooth, before adding the HorizontalPager everything went well
s
It would be great if you create an issue here with a reproducible if possible