Is it possible to create a Modifier or StateModifier that effectively removes all it's children from the DOM or make them into display: none;/ pointer-events:none?
I've tried with a Modifier and do setOpacity(0); but I want to prevent all the surfaces below from receiving click events too.
Thanks!