diff --git a/mobile-widgets/qml/HintsTextEdit.qml b/mobile-widgets/qml/HintsTextEdit.qml index fb9cee417..508c83907 100644 --- a/mobile-widgets/qml/HintsTextEdit.qml +++ b/mobile-widgets/qml/HintsTextEdit.qml @@ -13,7 +13,13 @@ TextField { onTextChanged: { textUpdateTimer.restart(); } - Keys.onPressed: frame.shouldShow = !frame.shouldShow + onFocusChanged: frame.shouldShow = focus + onVisibleChanged: { + if (visible) { + focus = false + frame.shouldShow = false + } + } Keys.onUpPressed: { hintsView.currentIndex--; }