Dear all,
The scroll to top functionality of the tabItem does not scroll to the actual top of the view, when a list / scrollView is embedded in a tabView. Tapping the tabItem brings the view to the mid-point of the navigationTitle, leaving the navigationTitle half-blurred in the new iOS26:
I believe that the same issue was present in previous iOS versions as well.
Do you experience the same problem, or am I doing something wrong? The code is below.
var body: some View {
TabView {
NavigationStack {
List {
ForEach(0..<100) { i in
Text(i.formatted())
}
}
.navigationBarTitleDisplayMode(.large)
.navigationTitle("List")
}
.tabItem {
Label("List", systemImage: "list") // Tapping here while the list is scrolled down does not bring the entire list to the actual top
}
}
}
}