android: returned lost focus in text field (#2625)
This commit is contained in:
committed by
GitHub
parent
3f93397031
commit
fccd4f7ec4
@@ -395,7 +395,7 @@ private fun NativeKeyboard(
|
||||
it.setTextColor(textColor.toArgb())
|
||||
it.textSize = textStyle.value.fontSize.value
|
||||
DrawableCompat.setTint(it.background, tintColor.toArgb())
|
||||
it.isFocusable = composeState.value.preview !is ComposePreview.VoicePreview && !cs.inProgress
|
||||
it.isFocusable = composeState.value.preview !is ComposePreview.VoicePreview
|
||||
it.isFocusableInTouchMode = it.isFocusable
|
||||
if (cs.message != it.text.toString()) {
|
||||
it.setText(cs.message)
|
||||
|
||||
Reference in New Issue
Block a user