The navigation bar display abnormal when cancel pop with `navigationBarHidden`
bougieL opened this issue · 2 comments
bougieL commented
- 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)
}
}
joehinkle11 commented
Probably related to this issue because you used edgesIgnoringSafeArea
joehinkle11 commented
I was unable to replicate this bug as of Jan 29, 2023. Maybe Apple changed something in SwiftUI's internals which fixed it?