Issue #632

Use Group

private func makeHeader() -> some View {
    Group {
        if showsSearch {
            SearchView(
                onSearch: onSearch
            )
            .transition(.move(edge: .leading))
        } else {
            InputView(
                onAdd: onAdd
            )
            .transition(.move(edge: .leading))
        }
    }
}

withAnimation {
    self.showsSearch.toggle()
}