Closed JongHoooon closed 5 months ago
Hi @JongHoooon! The animation
parameter in TCA is simply a wrapper around withAnimation
, so the behavior you're seeing is how vanilla SwiftUI behaves, and not a bug with TCA. As such I'm going to convert this to a discussion, but I think you should first try to present/dismiss the full-screen cover without animation in vanilla SwiftUI and that should inform how to do so in TCA.
I believe you can use a Transaction
that has disablesAnimation
property set to true
, but I haven't tried it so I'm not 100% sure of the vanilla solution :smile:
Description
I made custom alert. It presented by fullScreenCover. I want to present / dismiss it without animation.
when present
when dismiss
Checklist
main
branch of this package.Expected behavior
I want to present / dismiss full screen cover without animation
Actual behavior
I want to present / dismiss full screen cover with animation
Steps to reproduce
No response
The Composable Architecture version information
1.9.3
Destination operating system
iOS 17
Xcode version information
15.3
Swift Compiler version information