Skip to main content
Question

Nested components that re-sizes breaks after "componentizing" frame

  • December 14, 2023
  • 0 replies
  • 178 views

I’ve built a component that has a couple different states (and more importantly, different sizes upon hover and click). I put that component within an auto layout frame and tested the prototype. The features resized correctly, adjusting the autolayout outer frame without issue. As soon as it became a component, the interactions of the nested component broke.
I did find a solution, that each variant in the nested component needed to have the same dimensions. I’m wondering if anyone else has experienced this issue. It’s not quite a bug, and more an area of components that I don’t yet understand.

Thanks!

This topic has been closed for comments

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