Hi everyone, I have a BasicTextField with `Modifie...
# compose
j
Hi everyone, I have a BasicTextField with
Modifier.fillMaxSize()
and a
BottomSheetScaffold
that has another
BasicTextField
to edit links but when I click in the text field in the bottom sheet seems to be that the click is emitting the interaction in the
BasicTextField
that has the
fillMaxSize
. How can I solve the problem with the interaction?
This is the recording for more details.
p
Not sure, if I understand correctly, what is the result you expect, and what is happening. I guess you want to keep your text highlighted/focused, while you're editing stuff in bottom sheet?
j
When I try to remove the text from the
Link To
TextField
the interaction is being doing in the other
TextField
which is the
Editor
. See the
Link Settings
screen when I click the field it doesn't keep the cursor there.
p
What if you try to clear focus/selection of the text being edited first, before opening bottom sheet? Isn't it a bit weird, that more than one element has focus?
j
I tried removing the focus but seems that is not working for me. Any other idea?
🤔 1