u/thiago_bernabe

What is the best way to hide a button?

Hello!

I’ve been trying to implement in my dashboard an focus feature like Apple’s Home app. All the engine to show/hide and the helpers are done, but there is one thing i can do the way i wanted.

To hide, I wrapped the bubble card in a conditional card (i tested if use the visibility property as native is possible, but, at least for me, don’t worked) and i believe that doing this the conditional card maybe “reserve” space only disappearing with the button, but not freeing the space.

There is a better way to hide my card based on the state of a helper (or even better, with a template)?

I appreciate the help!

reddit.com
u/thiago_bernabe — 9 days ago