I have a list that implements Sections. I need to use custom labels / views as section titles, hence am using section headers:
List {
Section {
ForEach(content) { item in
MyView(item)
}
} header: {
MyHeader()
}
}
This works as expected, but when I scroll my list each section header is “sticky” i.e. visible even if scrolled beyond it.
As far as I can tell there is no modifier on List nor Section to disable this behavior? Hence, maybe it can somehow be disabled via UIKit?