android fix: release focus after scrolling

This commit is contained in:
Jaquee
2017-08-07 12:22:49 +02:00
parent a57da2f0cd
commit 44079aab37
2 changed files with 15 additions and 0 deletions

View File

@@ -1439,4 +1439,14 @@ ApplicationWindow {
return false
}
function releaseFocus() {
// Workaround to release focus from textfield when scrolling (https://bugreports.qt.io/browse/QTBUG-34867)
if(isAndroid) {
console.log("releasing focus")
middlePanel.focus = true
middlePanel.focus = false
}
}
}