Can module size be dynamically changed if one component is hidden?


In the module, I have created an input for the end-users to control if a component is hidden or not in the parent application. I didn't select the Maintain Space When Hidden Layout Setting because I want the module width to be smaller when the end-users hide the component.
CleanShot 2022-04-05 at 17.49.06

However, in the parent application, though the component is set to be hidden, the module size doesn't change and the hidden component still occupies space.

Would like to know how to dynamically change the module size. Thank you!

Hi there! I don't believe we have support for this yet, so I am moving this to a feature request.

We recently shipped an update so that modules will resize vertically based on whether certain components are hidden or visible (see below)

[video-to-gif output image]

Hi, did anything come of the horizontal resizing feature? Thanks!

Hi @pennyb we haven't shipped this yet, but I'll post back here if we do ship a fix!

1 Like