I\'ve got a List view and each row of the list contains an HStack with some text view(\'s) and an image, like so:
HStack{ Text(group.name) Spacer()
works like magic on every view:
extension View { func onTapGestureForced(count: Int = 1, perform action: @escaping () -> Void) -> some View { self .contentShape(Rectangle()) .onTapGesture(count:count, perform:action) } }