reports icon indicating copy to clipboard operation
reports copied to clipboard

FB18143262: Long term visual bug in SwiftUI .inspector when resizing from compact horizontal size class to regular on iPad

Open malhal opened this issue 6 months ago • 0 comments

Submission Date

2025-06-17

Status

Open

Area

SwiftUI

Operating System Version

iPad OS 18.5

Type

Incorrect/Unexpected Behavior

Description

I've encountered a bug in .inspector, and after a brief search, it appears to have gone unaddressed since January 2024:

FB16257334: Inspector View Bug

Steps to Reproduce:

  1. Open the attached project in Xcode 16.4.
  2. Launch it on the iPad Pro 13" M4 (iOS 18.5 simulator).
  3. Rotate the device to landscape.
  4. Tap the three dots at the top of the app and select Split View. Then open Safari from the dock to enable a side-by-side split view (app on the left, Safari on the right).
  5. Drag the split view separator to the left, reducing the app to a horizontally compact size class.
  6. Tap the button to open the inspector — it appears as a bottom sheet.
  7. Drag the separator back to the center of the screen.

Expected Behavior:

The bottom sheet should disappear, and the inspector panel should reappear as a slide-over on the right side.

Actual Behavior:

The bottom sheet transitions to a floating panel but loses its content. A shadow appears where the slide-over panel should be. If you attempt to dismiss the sheet by dragging, then tap the "Show/Hide Inspector" button again, the slide-over shadow animates in and out — but no inspector content is ever displayed.

Inspector iPad Resize Bug.xcodeproj.zip

Image

Keywords

No response

Prerequisites

  • [x] The title follows the format FB<number>: <title>
  • [x] I will keep this issue updated with Apple's responses

malhal avatar Jun 17 '25 09:06 malhal