Skip to main content
Titus_Nderitu
May 24, 2021

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

  • May 24, 2021
  • 5 replies
  • 7049 views

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

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
January 17, 2023

it will be awesome

February 21, 2023

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

February 21, 2023

Could you explain to me what the workaround would be?

November 21, 2023

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…