Closed samreid closed 1 year ago
@arouinfar and @matthew-blackman agreed it would be good to hide the whole panel if all its children become invisible.
This already happens. We were confused because CCK had invisible alignboxes that prevented the panel from disappearing. Closing.
In https://github.com/phetsims/circuit-construction-kit-common/issues/917, it was frustrating that panels would remain empty when all children elements were hidden via phet-io. It seems like a better development experience to hide a panel that has no visible children.