高さに関して、LazyHStack の動作が HStack と異なるのはなぜですか? (VStack についても同じ)。
import SwiftUI
struct LazyTestView: View {
   var body: some View {
      LazyHStack {
         ForEach(1...10, id: \.self) { int in
            Text("\(int)")
         }
      }
   }
}
struct LazyTestView_Previews: PreviewProvider {
    static var previews: some View {
        LazyTestView()
            .previewLayout(.sizeThatFits)
    }
}
一方、HStack の場合:
import SwiftUI
struct LazyTestView: View {
   var body: some View {
      HStack {
         ForEach(1...10, id: \.self) { int in
            Text("\(int)")
         }
      }
   }
}
.fixedSized()1つの解決策は、LazyHStackに追加することです...
PS: Xcode バージョン 12.5 ベータ (12E5220o)

