Is it possible not to show the soft keyboard even when the TextInput gets focused? My use case is that I need to hide the keyboard completely (for example like when you use some external keyboard) but I need to retain focus on the TextInput so I can use it normally (see the caret and so).
I don't like hacking libs, but I looked inside the textinput
folder in the react-native package and found some files which I thought could be relevant. First this one:
I replaced the code on line 96 with this:
editText.setInputType(InputType.TYPE_NULL);
editText.setTextIsSelectable(true);
but unfortunately it didn't work.
Then I found this file:
And commented out the line 215, but again, it didn't help.
Could anybody point me in a correct direction about how to get this done? Thanks.