Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The navigation bar display abnormal when cancel pop with navigationBarHidden #5

Open
bougieL opened this issue Aug 3, 2021 · 2 comments

Comments

@bougieL
Copy link

bougieL commented Aug 3, 2021

  • 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
@joehinkle11
Copy link
Owner

Probably related to this issue because you used edgesIgnoringSafeArea

#3 (comment)

@joehinkle11
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants