Using SwiftUI, I created a VStack, which contains some fixed elements and a list element. The reason is, that the user should only scroll the area under the fixed elements.
I use this,
.padding(.top, -8)
More detail here,
VStack(spacing: 0) { List { ... } VStack{ ... }.padding(.top, -8) }