Downgrade Compose to 1.1.0-beta02
This commit is contained in:
parent
6fbb2f3164
commit
f38c03d9f4
@ -62,7 +62,7 @@ dependencyResolutionManagement {
|
||||
listOf("kotlin.stdlib", "kotlinx.coroutines.core", "kotlinx.coroutines.android")
|
||||
)
|
||||
|
||||
version("androidx.compose", "1.1.0-beta03")
|
||||
version("androidx.compose", "1.1.0-beta02")
|
||||
alias("androidx.compose.runtime")
|
||||
.to("androidx.compose.runtime", "runtime")
|
||||
.versionRef("androidx.compose")
|
||||
|
||||
@ -110,7 +110,7 @@ fun LazyListScope.SearchableGrid(
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.requiredHeight(100.dp)
|
||||
.animateItemPlacement()
|
||||
//.animateItemPlacement()
|
||||
.zIndex(
|
||||
animateFloatAsState(
|
||||
if (focusedItem != -1 && rowIndex == focusedItem / columns) 100f else 0f
|
||||
|
||||
@ -23,5 +23,5 @@ fun LazyListScope.SearchableList(
|
||||
@OptIn(ExperimentalFoundationApi::class)
|
||||
@Composable
|
||||
fun LazyItemScope.ListItem(item: Searchable) {
|
||||
SearchableItem(item = item, modifier = Modifier.animateItemPlacement())
|
||||
SearchableItem(item = item, modifier = Modifier/*.animateItemPlacement()*/)
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user