I have a `VStack` where I have a title above some other views. The title is shown/hidden based on the value of an `@Published` variable from an environment object. Ideally, when the title should be hidden, I want it to transition by fading out and moving the views below it in the `VStack` up. However, what actually happens is it just disappears immediately and moves the rest of the views up without animation. How can I fix this?

```
struct MyView: View {
@EnvironmentObject var modelController: MyModelController

    var body: some View {
        VStack {
            title()
            //..other views here
        }
    }

    @ViewBuilder
    func title() -> some View {
        if let currentPage = modelController.currentPage,
           currentPage >= 6 {
            EmptyView()
        } else {
            Text("Create Event")
        }
    }
}

```