Shared element, not shared bounds
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ fun SearchResultGrid(
|
|||||||
if (item != null) {
|
if (item != null) {
|
||||||
GridItem(
|
GridItem(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.sharedBounds(
|
.sharedElement(
|
||||||
rememberSharedContentState(item.key),
|
rememberSharedContentState(item.key),
|
||||||
this@AnimatedContent,
|
this@AnimatedContent,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user