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")
|
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")
|
alias("androidx.compose.runtime")
|
||||||
.to("androidx.compose.runtime", "runtime")
|
.to("androidx.compose.runtime", "runtime")
|
||||||
.versionRef("androidx.compose")
|
.versionRef("androidx.compose")
|
||||||
|
|||||||
@ -110,7 +110,7 @@ fun LazyListScope.SearchableGrid(
|
|||||||
Row(
|
Row(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.requiredHeight(100.dp)
|
.requiredHeight(100.dp)
|
||||||
.animateItemPlacement()
|
//.animateItemPlacement()
|
||||||
.zIndex(
|
.zIndex(
|
||||||
animateFloatAsState(
|
animateFloatAsState(
|
||||||
if (focusedItem != -1 && rowIndex == focusedItem / columns) 100f else 0f
|
if (focusedItem != -1 && rowIndex == focusedItem / columns) 100f else 0f
|
||||||
|
|||||||
@ -23,5 +23,5 @@ fun LazyListScope.SearchableList(
|
|||||||
@OptIn(ExperimentalFoundationApi::class)
|
@OptIn(ExperimentalFoundationApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
fun LazyItemScope.ListItem(item: Searchable) {
|
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