When there is a toggleStyle added to my Toggle, the Toggle's TapGesture stops responding unless i remove the toggleStyle. However the Text inside the Toggle's closure
Code Block Text("Some Text")
still responds to tap but not the tapgesture on the Toggle itself with the Code Block print("Toggle Tapped")
Code Block Toggle(isOn: $shouldToggle) { Text("Some Text") .onTapGesture { print("Some Text Tapped") } } .onTapGesture { print("Toggle Tapped") } .toggleStyle(MyCustomToggleStyle())