From 2a59139c7691e8e0e39945d4d6bbeb72fa06946a Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Sat, 25 Mar 2017 01:17:37 +0100 Subject: [PATCH] trying to fix focus issue --- interface/resources/qml/hifi/tablet/TabletAddressDialog.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/resources/qml/hifi/tablet/TabletAddressDialog.qml b/interface/resources/qml/hifi/tablet/TabletAddressDialog.qml index bfecf5457b..e19f8ef72b 100644 --- a/interface/resources/qml/hifi/tablet/TabletAddressDialog.qml +++ b/interface/resources/qml/hifi/tablet/TabletAddressDialog.qml @@ -35,6 +35,8 @@ StackView { Component { id: tabletStoryCard; TabletStoryCard {} } Component.onCompleted: { + root.currentItem.focus = true; + root.currentItem.forceActiveFocus(); fillDestinations(); updateLocationText(); root.parentChanged.connect(center); @@ -199,6 +201,7 @@ StackView { onClicked: { isCursorVisible = true; parent.cursorVisible = true; + parent.focus = true; parent.forceActiveFocus(); addressBarDialog.keyboardEnabled = HMD.active tabletRoot.playButtonClickSound();