"onTapGesture" interferes with segmented picker

struct ProblemSegmentTest: View {

    @State private var select = 0

    var body: some View {

        VStack {

            Picker("Test", selection: $select) {

                Text("A").tag(0)

                Text("B").tag(1)

                Text("C").tag(2)

            }

            .pickerStyle(SegmentedPickerStyle())

        }

        .onTapGesture {

            print("test")

        }

    }

}

I want to do sth when the picker is taped. However, when I apply ".onTapGesture" to the vstack, the picker's options can't be selected any more. Any help will be appreciated.

"onTapGesture" interferes with segmented picker
 
 
Q