Skip to main content

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


Titus_Nderitu

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
  • 5 replies
  • 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

it will be awesome


  • 2 replies
  • February 21, 2023

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


  • 2 replies
  • February 21, 2023

Could you explain to me what the workaround would be?


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…


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings