I am working on a List view in SwiftUI. I have a section at the bottom that is collapsed when presented. Clicking on the section header expands the list below the tab bar, but there is no visual indication to the user.
Is there an easy way to force the view to scroll after expanding the section, so the user sees there are additional rows?
Thanks
var body: some View {
Section(header: Text("Archived").onTapGesture {
self.sectionState.toggle()
}) {
if sectionState {
ForEach(filteredArchives) { listVM in
NavigationLink(destination: ListViewDetail(listVM: listVM)) {
ListView(listVM: listVM)
.frame(width: nil, height: 75)
}
}
}
}
}