Lazy-Pop-SwiftUI
Lazy-Pop-SwiftUI copied to clipboard
The navigation bar display abnormal when cancel pop with `navigationBarHidden`
- 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
Probably related to this issue because you used edgesIgnoringSafeArea
https://github.com/joehinkle11/Lazy-Pop-SwiftUI/issues/3#issuecomment-1079688013
I was unable to replicate this bug as of Jan 29, 2023. Maybe Apple changed something in SwiftUI's internals which fixed it?