Is it bug or feature? When TextField disappears it...
# compose
i
Is it bug or feature? When TextField disappears it triggers
onValueChange
I should show example
when i enter text into field
onValueChange
calls as expected, but when code length reached,
visible
became
false
,
BasicTextField
disappears and
onValueChange
triggers another one time
c
I like your code colors. I would bet my tokens in this rememberable
w
What theme do you use ?
i
You mean in IDE?
w
yes , for the editor
material theme ?
i
Just darcula. Colors achieved by the enabling "semantic highlight" option in the IDE settings
👍 1
👍🏽 1
l
Hey @iamthevoid, I reported this issue a while back here: https://issuetracker.google.com/issues/191929648. You can star the issue 🙂
1
c
So it is a problem. Awesome
i
@Lucien Guimaraes are you sure that it is the same problem? Looks like your issue about explicit changing value. In my case there is callback that called when shouldn’t
l
It might be the same issue (not 100% sure), caused by an update of the innerTextField which trigger a call to onValueChange when it shouldn't. Do not hesitate to report your issue in the thread, at least you might have a reply from a Compose developer!