Skip to main content
Question

Nested component: Cannot change property "Size"

  • August 26, 2022
  • 3 replies
  • 4013 views

Gregoire_Charles

Hi there,

I have an avatar component that has multiple properties including a size (variations are made using variants). I included the avatar to a parent component that has it’s own properties

Issue: I cannot change the size of the avatar component from the parent component. I can interact with the property dropdown but it has no effect while all other properties can be updated (square, picture, notification, status).

Here is an image as a summary for my issue

Do you have any idea why this is not working? I’m pretty sure there’s a logic explanation but cannot figure it out by myself. Thank you !

This topic has been closed for comments

3 replies

tank666
  • 4863 replies
  • August 26, 2022

Unfortunately, I don’t see how your component is made, but I can assume that you didn’t add Auto Layout to it.

See examples of how to do this:


Gregoire_Charles

Thanks for your reply @tank666 🙌
Tried to follow linked advices and implemented auto-layout on nested components but the issue remains the same. Let’s say I can live with it 🙂


  • 0 replies
  • September 28, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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