Skip to main content
Question

Nested Properties don't work

  • December 8, 2024
  • 2 replies
  • 54 views

danielhosoya

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?

2 replies

Daniel_Hosoya_Villarreal

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


Pavel_Kiselev
  • Power Member
  • 438 replies
  • December 10, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings