In the below example, the child element is not visible only if it is explicitly hidden. Instead, if it is left visible and the parent container is set to hidden, the child element is still visible in preview and after publishing, but not visible on the editor canvas.

In the below example, the child element is not visible only if it is explicitly hidden. Instead, if it is left visible and the parent container is set to hidden, the child element is still visible in preview and after publishing, but not visible on the editor canvas.