Skip to main content

The properties of the nested components are not valid.


I have different components, with status and size properties. If I use the component individually, it respects the properties. But when I add it inside another component and it is nested, it only respects the color properties. It ignores the size properties.


Does this happen to anyone else?

Hi, I have found a solution, I don’t have an official explanation yet, but I imagine this is what happens.


When we assemble a component and the root component so to speak we give the values, is when the nested instance is not identified.


However when the child of that root, has the values it does work. Now that I write it has logic, but I hope it helps.


I leave a clip to explain me better. Greetings.


Video here: comp.mov - Google Drive


You can change the size of sub components, but there is a catch, they have to be auto layout frame. This might give you better idea β†’ Customize "Fixed width" of the nested instance - #13 by Pavlo_Kiselov


Reply