When I change the state of a nested component and If that nested component changes sizes. When I create an instance of that main component, it will not adjust the size, even with auto layout.
Am I doing something wrong? Any help would be appreciated.
Trying to upload a video. Unable to do it. Here is a larger gif, but a trimmed section. This is showing only the instance of the main component not working.
I figured out the issue. My nested component didn’t have auto-layout applied to it. As soon as I applied auto-layout to the nested component with variants it worked.
Well now I feel dump That did it. Sometimes you just lose track of nested components. In this IconWrapper case only hit was that the size was fixed not hug contents