Working with TabbedComponent, I noticed that tabs lose their containment (parent node) when they become invisible. Looking at the code I found that -indeed- the TabbedComponent calls removeChildComponent() when a tab is hidden.
Since containment and visibility are entirely separate concepts, seeing them conflated like this makes my code-smell alarm go off rather loudly. I thus have to assume there is a deep technical reason for why an inactive tab cannot have a parent. But I can’t think of one. Please advise. Thanks.