Skip to content

Commit 3095fdd

Browse files
committed
Demo: RemoteImage: replaced Group with ZStack; Group can have strange side effects specifically with transition animations
1 parent 2fef26b commit 3095fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AsyncMuxDemo/Sources/RemoteImage/RemoteImage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct RemoteImage<P: View, I: View>: View {
1616
@State private var error: Error?
1717

1818
var body: some View {
19-
Group {
19+
ZStack {
2020
if let image = uiImage.map({ Image(uiImage: $0) }) {
2121
content(image)
2222
}

0 commit comments

Comments
 (0)