-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
struct PhaseBugTestView: View {
@State private var items = [6]
var body: some View {
VStack(spacing: 10) {
ForEach(items, id: \.self) { item in
Color.blue.opacity(Double(item) / 6.0)
.frame(height: 50)
.transition(.slide)
}
}
.animation(.easeInOut(duration: 2), value: items)
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
items.removeAll { $0 == 6 }
}
}
}
}After #700, the above example will crash due to OpenSwiftUICore/DynamicContainer.swift:372: Assertion failed
Metadata
Metadata
Assignees
Labels
No labels