Lazy-Pop-SwiftUI icon indicating copy to clipboard operation
Lazy-Pop-SwiftUI copied to clipboard

The navigation bar display abnormal when cancel pop with `navigationBarHidden`

Open bougieL opened this issue 3 years ago • 2 comments

  • The example code is
struct Example: View {
    @State var selection = 0
    var body: some View {
        ZStack {
            Color.blue.edgesIgnoringSafeArea(.all)
        }
        .lazyPop()
        .frame(maxWidth: .infinity, maxHeight: .infinity)
        .edgesIgnoringSafeArea(.all)
        .navigationBarHidden(true)
    }
}
  • When swipe half then cancel swipe, the result is IMG_0722

bougieL avatar Aug 03 '21 03:08 bougieL

Probably related to this issue because you used edgesIgnoringSafeArea

https://github.com/joehinkle11/Lazy-Pop-SwiftUI/issues/3#issuecomment-1079688013

joehinkle11 avatar Aug 13 '22 15:08 joehinkle11

I was unable to replicate this bug as of Jan 29, 2023. Maybe Apple changed something in SwiftUI's internals which fixed it?

joehinkle11 avatar Jan 29 '23 17:01 joehinkle11