ScrollView Bug

If put a List in ScrollVIew, List won't appear:

import SwiftUI

struct BugView: View {
    let numbers: [Int] = [0, 1, 2]
    
    var body: some View {
        ScrollView {
            List(numbers, id: \.self) { number in
                Text(number.description)
            }
        }
    }
}

#Preview {
    BugView()
}

List and ScrollView are the same. Remove the scrollview and the list will accomplish the outcome.

ScrollView Bug
 
 
Q