List row edit controls dissapear and appear and when dragging sheet

Originator:indiekiduk
Number:rdar://FB9969447 Date Originated:29/3/2022
Status:Open Resolved:No
Product:SwiftUI Product Version:15.4
Classification:Bug Reproducible:Always
 
I noticed that when a List is in a sheet and you enter edit mode, the edit controls like move row disappear when a drag to start sheet dismiss is started and cancelled.

iOS 15.4 iPhone 13 Simulator
Xcode Version 13.3 (13E113)
macOS 12.3

Open attached project ListSheetBug.
Launch on iPhone 13 simulator.
Tap show button, sheet with list will appear.
Tap edit button, row edit controls will appear.
Drag the top of the sheet down slightly as if you were going to drag to dismiss it but do not complete the gesture and leave the sheet back in its original position - the row edit controls disappear.
Drag the sheet in the same way again, the edit controls appear again.

The edit controls should not change appearance based on dragging the sheet.

Screen capture: https://imgur.com/BsIoX1t

Comments

I tested the sample project in Xcode 14b1 and iPhone 13 Simulator running iOS 16 beta and it's worse - the list edit controls don't appear anymore when tapping edit, see attached screenshot (Edit has been tapped and is now showing Done but rows are not showing edit controls).

https://imgur.com/yq70tM4

By indiekiduk at June 15, 2022, 9:48 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!