Skip to main content
Question

Bug in simple autolayout

  • May 13, 2026
  • 0 replies
  • 8 views

Sondeeer

I have two containers (B and C) nested in a parent container (A) over an input field in a component. All container sizes are set to “hug”.

  • Container A with autolayout
    • Container B with autolayout
      • Label (text)
    • Container C with autolayout
      • Help text (text)
  • Input field container

I want to be able to hide container B and C with a boolean, but when I do container A’s height isn’t set to zero. Why? 

I can also add that when i nest container B and C under A some AI-drag-to-auto-generate-similar-content-bar is added to container A. Has this anything to do with it?