Replies: 1 comment 2 replies
-
Can you try this instead, as - .matchedGeometryEffect(id: store.id, in: namespace)
+ .matchedGeometryEffect(id: store.state.id, in: namespace) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to use
matchedGeometryEffect()
to apply effective animations when swapping, adding, or removing elements in a grid-like layout of multiple items.While this works without any issues in pure Swift and SwiftUI, it does not behave as expected when implemented using TCA's Reducer scopes. How should I address this problem?
OK Pattern Implementation
It doesn't use
store.scope
.NG Pattern Implementation
It use
store.scope
.Beta Was this translation helpful? Give feedback.
All reactions