Height of a Container Behavior

If I have a group that is a container, and that group has layouts for height to be Min height of 300px and Max height of inf px, and inside of the group is a repeating group with height to fit height to content, should I expect the group that is the container to stretch its height to keep the repeating group contained regardless of how many entries are in the repeating group?

I’m trying to understand the behavior of the inf px value for max height and what to expect.