.tabViewStyle(.page(indexDisplayMode: .always))
I forgot to add a style in the code.
If you use it, then the problems that I described above begin
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: