This code results in a list that doesn't show the footer row:
public struct ContentView: View {
public var body: some View {
VStack {
List(1..<100) { i in
Text("Row #\(i)")
}
Text("Bottom Row").font(.largeTitle)
}
}
}
Embedding the List in an extra VStack works around the issue:
public struct ContentView: View {
public var body: some View {
VStack {
VStack {
List(1..<100) { i in
Text("Row #\(i)")
}
}
Text("Bottom Row").font(.largeTitle)
}
}
}
This code results in a list that doesn't show the footer row:
Embedding the List in an extra
VStack
works around the issue: