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


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!