Conditional Region Hide

This issue cropped up long ago, here. I don’t think there’s a solution, but it is possible to avoid one of the issues. Eg if the contents is hidden but you’re left with a visible border which was enclosing the content, then you can create an extra div and apply the condition to that div. You have to edit the code manually to do this.