Even if that's the case, I would expect that would mean the height of the VStack (and its enclosing GeometryReader) would then be equal to the height of the Text (plus spacing), but that's not what's happening. Instead, VStack's height is correctly reported if you look at the result of the calls to dump (including the size of the TextField), but including the TextField just breaks reporting to the preference system
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: