When removing a GuiObject and it is the last visible child being affected by a UILayout instance, the AbsoluteContentSize property is not updated. This breaks the parent’s AutoSize property and the ability to use the AbsoluteContentSize property for manual rescaling.
A work around is to have an invisible child and toggling it’s Visible property on and back off after this element is removed to trigger an update.
These demo videos are in the studio editor, but the behavior persists in-game.
Expected behavior
When removing the GuiObject, the AbsoluteContentSize property should update as well as the size caused by the parent’s AutomaticSize setting.