hey everyone, i have a textfield inside a column w...
# compose-desktop
k
hey everyone, i have a textfield inside a column with some radio buttons and switches, on android and ios when textfield is in focus and i click on a radio button the textfield doesnt loose focus but on desktop it looses focus. is it intended behaviour or are there any workarounds?
a
It is the intended behavior, because radio buttons and switches are focusable. You can try making them non-focusable.
k
so this should work?
Copy code
.focusProperties { canFocus = false },
a
Yes.
k
thanks @Alexander Maryanovsky
a
You’re welcome