Skip to content

[iOS 26.0+] Tab transition shows underlying UI artifacts with UISearchController in half-modal inspector #51

@lynnswap

Description

@lynnswap

Summary

When the inspector is presented as a half-modal sheet, switching tabs can briefly show underlying UI artifacts if the Network tab uses UISearchController.

Environment

  • Device: iPhone Air
  • OS: iOS 26.0+
  • Host app: MiniBrowser
  • Inspector presentation style:
    • modalPresentationStyle = .pageSheet
    • sheet detents: .medium(), .large()

Reproduction Conditions

  • WIContainerViewController is presented as a half-modal sheet (.pageSheet with medium/large detents).
  • The Network tab has UISearchController integrated in the navigation item.
  • This can occur even when the search text field is not focused (not first responder).

Steps to Reproduce

  1. Open MiniBrowser and present the inspector.
  2. Ensure the inspector is shown as a half-modal sheet.
  3. Go to the Network tab.
  4. (Optional) Interact with the search bar.
  5. Switch to another tab.

Expected Result

Tab transition completes cleanly without showing UI from the presenting content.

Actual Result

During the tab transition, underlying UI (for example, the presenting ContentView toolbar) can appear as a ghosted/overlapped artifact until animation completion.

Notes

This appears to be tied to the iOS 26 presentation/transition path for search-integrated navigation UI in half-modal contexts.

Screenshots

View hierarchy artifact
View hierarchy (Xcode)
On-device artifact
On-device capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions