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

FB16257334: Inspector view bug #594

Open
iOSappssolutions opened this issue Jan 7, 2025 · 0 comments
Open

FB16257334: Inspector view bug #594

iOSappssolutions opened this issue Jan 7, 2025 · 0 comments

Comments

@iOSappssolutions
Copy link

  • Date: 2024-01-07
  • Resolution: Open
  • Area: SwiftUI
  • OS: iPadOS 18.1
  • Type: Incorrect/Unexpected Behavior
  • Keywords: SwiftUI, split view, iPadOS, NavigationSplitView

Description

Simple NavigationSplitView that has Inspector view attached is all needed to reproduce.

One easy way to reproduce is going to split mode and minimizing app width so that inspector turns into sheet, after that just close the other window and you are leftover with sheet on top and actual inspector view not working any more.

I will attach source code and video that show it.

struct ContentView: View {
    var body: some View {
        NavigationSplitView(sidebar: {
            Text("Sidebar")
        }, detail: {
            Text("Detail")
                .inspector(isPresented: .constant(true)) {
                    Text("Inspector")
                }
        })
    }
}

Files

InspectorBug.mov
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

1 participant