Prevent drag when moving list rows on iPad

I have a SwiftUI list. I want rows to be selectable and movable so they can be rearranged on the list. The code to implement this is pretty straightforward, but there is a major caveat. On iPhone everything works as intended. However on iPad I can't rearrange rows if there are multiple rows selected, instead the selected rows become draggable. Is there any way to disable dragging behaviour?


The whole code is here. Run it both in iPhone- and iPad-simulator and you can replicate the behaviour.

Code Block
import SwiftUI
struct ContentView: View {
@State private var selectedRows = Set<String>()
@State private var items = ["item1", "item2", "item3", "item4"]
var body: some View {
        List(selection: $selectedRows) {
            ForEach(items, id: \.self) { item in
                Text(item)
            }
            .onMove(perform: onMove)
        }
        .listStyle(InsetGroupedListStyle())
        .environment(\.editMode, Binding.constant(.active))
}
    func onMove(source: IndexSet, destination: Int) {
        guard let index = source.first else { return }
        let newIndexSet = IndexSet([index])
        items.move(fromOffsets: newIndexSet, toOffset: destination)
    }
}




Prevent drag when moving list rows on iPad
 
 
Q