And you see a popup like this while creating a nested component:
![]()
That means the parent component doesn’t have Auto Layout. The solution is to add Auto Layout to the parent component, then place the child component inside it.
Why we have to use Auto Layout first to implement nested components? I don’t know. But temporarily, you can follow the steps I explained above.