Dynamic height in beta 5

This code below worked fine in beta 4, but crashes in beta 5. From what I can see the reason is the frame and idealHeight property.

The text could be of different length and I want to show max 2 lines of data. I can't find anything that points to a changed behavior for idealHeight in beta 5.


List(items, id:\.objectID) { item in
                
  Text(item.text ?? "")
    .foregroundColor(.secondary)
    .font(.caption)
    .lineLimit(2)
    .frame(idealHeight: .infinity)
                
}.onAppear {
  self.store.performFetch()
}


If I remove the frame property, it ends up with only one row and ellipsis.

How can I achieve a dynimc height of text inside each row of a list in beta 5?