Downgrade Compose to 1.1.0-beta02

This commit is contained in:
MM20 2021-12-10 22:47:22 +01:00
parent 6fbb2f3164
commit f38c03d9f4
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
3 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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

View File

@ -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()*/)
}