is `Modifier.alpha(0f)` the Compose equivalent of ...
# compose
j
is
Modifier.alpha(0f)
the Compose equivalent of
View.INVISIBLE
? In regards both to performance and things like screen readers? Is there something better I should be doing?
c
I know theres a feature request for providing view.invisible-like api. but I think currently alpha(0f) is the best you can do
t
It would be an easy modifier to create; just delegate to
drawWithContent
and
clearAndSetSemantics
If you want to avoid placement then use
layout
and don't call
place