It's not shown in the repro, but I need to do additional things on drop than just reorder the array of items. In the real version, users can drop items onto other items and the items are merged. The frustrating part is that the WWDC25 demo and examples only show how to use the new .draggable(containerItemID:) and .dragContainer(for:) modifiers to drag items to the trash. So there's no demonstration of a drop target working with the new container-based modifiers...
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: