onDrop modifier doesn't work when inside List
Originator: | damir.stuhec | ||
Number: | rdar://FB8450944 | Date Originated: | 8/18/2020 |
Status: | Open | Resolved: | |
Product: | iOS | Product Version: | All |
Classification: | SwiftUI | Reproducible: | Always |
`.onDrop` modifier does not work when applied to a view(s) inside the `List`. It works when used inside `ScrollView` but there we lose the edit mode, swipe-to-delete, context menu, and other, `List` related features. Note that the `onInsert` modifier works as expected, even in the `List`. Drag & Drop is an essential feature for multitasking, and not having the ability to use `onDrop` is a major shortcoming.
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!