Finally I have found a work around. Just append the .frame(height: 200.0) modifier to the VStack with a value large enough to display the table. If the value is too small, the table won't be rendered.
.frame(height: 200.0)