Can I change the constrains of a component inside ...
# compose
r
Can I change the constrains of a component inside a
ConstraintLayout
in base of a
mutableStateOf<Boolean>
? If the mutable value change, my component will have others constrains..
z
I haven't actually tried, but I don't know why this wouldn't work. Is it not working for you?
r
Nope 🙃. I can change the background color for example and see that is working, but not the constrains
z
I'd file a bug, sounds like maybe the constraints block is not recording snapshot reads.
r
Will do, thanks! ❤️