This might work:
ScrollView(.horizontal) {
ScrollView(.vertical) {
LazyVStack(alignment: .leading, spacing: 1, pinnedViews: [.sectionHeaders, .sectionFooters]) {
Section(header: Header()) {
I got the idea from here:
https://developer.apple.com/forums/thread/685941
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: