Resize parent components in a FlexBox/FlexItem hierarchy

we have a FlexBox/FlexItem tree hierarchy. At resize() the FlexBox layouts the child components. During the layout phase how can we handle the case where the size change of a child component should reflect back to a resize of its parent component?

Can there be a dependency defined so if the child component resizes that its parent also gets adjusted?
At the layout phase FlexItem.currentBounds does not reflect a child initiated resize.