Navigation title scroll along with the content in iOS 26. working fine in iOS 18 and below. One of my UI component is outside the scrollview which is causing the issue.
var body: some View {
VStack {
Rectangle()
.frame(maxWidth: .infinity)
.frame(height: 60)
.padding(.horizontal)
.padding(.top)
ScrollView {
ForEach(0...5, id: \.self) { _ in
RoundedRectangle(cornerRadius: 10)
.fill(.green)
.frame(maxWidth: .infinity)
.frame(height: 100)
.padding(.horizontal)
}
}
}
.navigationTitle("Hello World")
}
}