SwiftUI animation: Some implicit transition animations broken on iOS 13?

To have implicit transitions animatable correctly it needs to make animatable container that includes these transitions.

Tested with Xcode 11.4 / iOS 13.4.


Here is the only fix made:

struct MyExample: View {

    @State private var isShowing = true

    private let myAnimation = Animation.spring(response: 0.8, dampingFraction: 0.2, blendDuration: 3.0)
    var body: some View {
        VStack(spacing:20) {
            if self.isShowing {

                ...      // all your code here

        }.animation(myAnimation)    // << fix !!

According to Javier, implicit animations on transitions no longer work as of Xcode 11.2

If anyone has newer information, please reply.

Note that since XCode 11.2, transitions no longer work with implicit animations.