Switch to system keyboard when tapping search textfield - Android
This commit is contained in:
parent
0ff426b9ac
commit
423b74322f
1 changed files with 15 additions and 0 deletions
|
|
@ -444,6 +444,21 @@ fun MainScreenWithDrawer(
|
|||
)
|
||||
}
|
||||
)
|
||||
if (isAndroid && isNumericKeyboard) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.height(38.dp)
|
||||
.clickable(
|
||||
interactionSource = remember { MutableInteractionSource() },
|
||||
indication = null
|
||||
) {
|
||||
isNumericKeyboard = false
|
||||
focusRequester.requestFocus()
|
||||
keyboardController?.show()
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Column(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue