How can I remove the selection color of a List in SwiftUI.

Is this a feature that is missing in SwiftUI at the moment?


I want to achieve something like below, but for SwiftUI:


cell.selectionStyle = .none


listRowBackground change the background even if not selected.


.listRowBackground(Color.blue)

Managed this with the

.listRowBackground(Color.TheColorOfMyCurrentBackground)

was trying with Color.clear, but this triggers the system color for selections.

How can I remove the selection color of a List in SwiftUI.
 
 
Q