Neither navigation or Button's actions working in the pages of the TabView with PageTabViewStyle. Repro code:
Code Block struct ContentView: View { @State private var selection = 0 var body: some View { VStack { TabView(selection: $selection) { Button(action: { print("First selected") }){ Text("Fist") } .tag(0) .buttonStyle(PlainButtonStyle() Button(action: { print("Second selected") }){ Text("Second").tag(1) } .tag(1) Button(action: { print("Third selected") }){ Text("Third") } .tag(2) } .tabViewStyle(PageTabViewStyle(indexDisplayMode: .always)) .frame(width: 900, height: 400) .background(Color.blue) } } }