nathantannar4 / Transmission

Bridges UIKit presentation APIs to a SwiftUI API so you can use presentation controllers, interactive transitions and more.
BSD 2-Clause "Simplified" License
378 stars 13 forks source link

Window modifier has unexpected background #29

Closed PhilipDukhov closed 8 months ago

PhilipDukhov commented 8 months ago

After updating to 1.1.0, window has white background that hovers whole screen.

In 1.0.3 and earlier, modifier destination was displayed without background.

@State var isPresented = false

var body: some View {
    Button("show") {
        isPresented = true
    }
    .window(
        level: .overlay,
        transition: .move(edge: .top).combined(with: .opacity),
        isPresented: $isPresented
    ) {
        Text("hey")
    }
}
vpontis commented 8 months ago

This is fixed by #30

nathantannar4 commented 8 months ago

Fixed in 1.1.2