When I delete a tab does it also delete all the components?

want to make sure i’m not including ghost components.

ah, im guessing you’re talking about a tabbed container, right?

when you delete a container, you also delete all the components it contains

so i think you’re good.

also, you can verify this by checking the model browser, which lists out all your components in one place

ok so I verified and it doesn’t delete the components.

ooooh, i see, you’re keeping the tabbed container but deleting an individual tab?

hmmm yeah that’s a tricky one. it’s possible for a user to have a tabbed container with a dynamic number of tabs, so it’s not so simple for us for definitely say that a component is a “ghost”

maybe we can do something about this for the common case (where we know the number of tabs is static), but honestly i wouldn’t expect this feature to be high priority for a while

is it giving you much trouble?

Does this store the “ghost” components, or do they only exist locally for the session where it was deleted? As in, after shortening the array of tab names in the editor does it hold on to those now hidden components indefinitely?

yeah the components are there forever (you can still see them in the model browser). you can still access them by adding the tabs back, or by selecting it from the model browser (e.g. to delete them)