How do I create a text input that does not show virtual keyboard on focus #12417
|
On Android we could do something like |
Replies: 1 comment
|
There is not a public Slint equivalent of
The official virtual keyboard example shows how to display an in-app keyboard and route key events to the focused So for an editable, focused |
There is not a public Slint equivalent of
showSoftInputOnFocus = falseat the moment.TextInputenables the platform input method whenever it receives focus andread-onlyis false. On Android, that request directly shows the soft input. The publicTextInputproperties do not expose an opt-out.read-only: trueis the only built-in way to avoid that request, but it also disables normal keyboard and mouse editing. It is only a workable fallback if the in-app keyboard updatestextitself and handles caret/selection behavior, rather than dispatching ordinary key events.The official virtual keyboard example shows how to display an in-app keyboard and route key events to the focused
TextInput, …