You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: The sheet should dismiss after the timer completes.
Actual behavior
Actual: The dismiss dependency has no effect, sheet remains visible.
Reproducing project
There are several options to solve that
Dismissing modal by setting modal state to nil from parent reducer.
Having dynamic ID for the sheet modal and resetting it to different id after parent status change.
My real case is much complex and there are some reasons to have module based identity instead of instance based identity for this specific case I want SwiftUI to recognize it's the same presentation semantically, even if the parent state transitions.
Description
Steps to reproduce:
DismissEffectBehavior.mov
Checklist
mainbranch of this package.Expected behavior
Expected: The sheet should dismiss after the timer completes.
Actual behavior
Actual: The dismiss dependency has no effect, sheet remains visible.
Reproducing project
There are several options to solve that
My real case is much complex and there are some reasons to have module based identity instead of instance based identity for this specific case I want SwiftUI to recognize it's the same presentation semantically, even if the parent state transitions.
TCADismissEffect.zip
The Composable Architecture version information
1.23.1
Destination operating system
iOS 26.1
Xcode version information
Version 26.1.1 (17B100)
Swift Compiler version information