I have a stack of drawers. Depending on several parameters, some of the drawers will be in use and others will not.
If a drawer is not visible, it still takes up the space on the web page equal to the size of the drawer when collapsed.
If the drawer is not in use I do not want it to be visible or take up any space on the page.
Does anyone have any idea how to do that?