Skip to content
Discussion options

You must be logged in to vote

There is not a public Slint equivalent of showSoftInputOnFocus = false at the moment.

TextInput enables the platform input method whenever it receives focus and read-only is false. On Android, that request directly shows the soft input. The public TextInput properties do not expose an opt-out.

read-only: true is 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 updates text itself 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, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Nubuki-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants