Benjamin Deroche
12/22/2021, 4:11 PMzIndex
do nothing in a LazyVerticalGrid
? I've implemented a drag and drop feature that work perfectly well in LazyColumn
and LazyRow
, but in the LazyVerticalGrid
, the zIndex
I apply to the dragged element (to always show it on top) have no effect. The dragged element is always shown behind the next elements in the list and above the previous elements in the list. I also tried another "static" implementation using Row
and Column
but it have the same problem.Jan Bína
12/22/2021, 6:09 PMLazyVerticalGrid
, your item Composables are wrapped in another Row composable of which you have no control... and zIndex
has effect only on composables that has the same parentAndrey Kulikov
12/22/2021, 10:32 PM