diff options
Diffstat (limited to 'mobile-widgets/qml/SsrfTextField.qml')
-rw-r--r-- | mobile-widgets/qml/SsrfTextField.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mobile-widgets/qml/SsrfTextField.qml b/mobile-widgets/qml/SsrfTextField.qml index e33cb3ea2..84b7695b7 100644 --- a/mobile-widgets/qml/SsrfTextField.qml +++ b/mobile-widgets/qml/SsrfTextField.qml @@ -20,9 +20,10 @@ Controls.TextField { firstTime = true } - // that's when a user taps on the field to start entering text - onPressed: { - if (flickable !== undefined) { + // once a text input has focus, make sure it is visible + // we do this via a timer to give the OS time to show a virtual keyboard + onFocusChanged: { + if (focus && flickable !== undefined) { waitForKeyboard.start() } } |