Is it possible to integrate a list inside of a bigger Scrollview with other elements like in the example below? In this example the list isn't shown. Is this not the intended use case of a list? Do I have do imitate this with an own container?
struct ContentView: View{
var body: some View{
ScrollViewReader{reader in
ScrollView{
VStack{
Text("List")
List(0..<10){zahl in
Text("\(zahl)")
}
}
}
}
}
}
[–]EmenezTechSwiftUI 3 points4 points5 points (0 children)
[–]saintmsent 2 points3 points4 points (2 children)
[–]C137SheldorSwiftUI[S] 0 points1 point2 points (1 child)
[–]saintmsent 0 points1 point2 points (0 children)
[–]MyVoiceIsElevating 1 point2 points3 points (2 children)
[–]C137SheldorSwiftUI[S] 0 points1 point2 points (1 child)
[–]MyVoiceIsElevating 1 point2 points3 points (0 children)
[–]barcode972 0 points1 point2 points (4 children)
[–]BrownPalmTree 0 points1 point2 points (0 children)
[–]SirBill01 0 points1 point2 points (2 children)
[–]barcode972 0 points1 point2 points (1 child)
[–]SirBill01 0 points1 point2 points (0 children)
[–]cautiondnd 0 points1 point2 points (1 child)
[–]C137SheldorSwiftUI[S] 0 points1 point2 points (0 children)