Skip to main content
Titus_Nderitu
May 24, 2021 9:27 AM UTC

Show or hide component in same frame as a "Set Visibility" interaction option

So I have a link on a page that if clicked should enable another form or section further down the page, and if unchecked, hides it.

The ideal is that if it shows it, the auto-layout adjust the page and vice versa.

In CSS it would mimic a div that is set to display: none; and the click turns it to display: block;

Is there something in the works for this or a workaround through a plugin?

5 replies

mbrus
May 6, 2022 5:10 AM UTC

Curious about this too. Without an ability on “Click → Show/Hide X” I have to create many more frames and interactions which feels unnecessary. Is something like this planned?

Edoardo_Laurentino
Jan 17, 2023 5:31 PM UTC

it will be awesome

Feb 21, 2023 9:34 AM UTC

This feature would be so useful! I’m surprised it’s not implemented yet.

Feb 21, 2023 9:35 AM UTC

Could you explain to me what the workaround would be?

Nov 21, 2023 11:04 PM UTC

Agreed- I would love a “Display” component property that works the same way it does in HTML and to be able to control it via a boolean variable.

To get around this I’m creating a variant called “Hidden” that has a fixed width/height of .01px and swapping it via a string variable. It works for my purposes, but is far from ideal…