I found that List in a ScrollView works only if it don't use the entire space.
GeometryReader
{ (geometry) in
ScrollView()
{
let w = geometry.size.width
let h = geometry.size.height
List
{
....
}
.frame(width: w>0.1 ? w-0.1 : 0, height: h>0.1 ? h-0.1 : 0)
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: