diff --git a/web/source/osk/browser/subkeyPopup.ts b/web/source/osk/browser/subkeyPopup.ts index f927a8bd61..d9c0c05077 100644 --- a/web/source/osk/browser/subkeyPopup.ts +++ b/web/source/osk/browser/subkeyPopup.ts @@ -236,6 +236,7 @@ namespace com.keyman.osk.browser { updateTouch(touch: Touch) { this.currentSelection = null; + let matchFound = false; for(let i=0; i < this.baseKey['subKeys'].length; i++) { try { @@ -245,10 +246,17 @@ namespace com.keyman.osk.browser { if(onKey) { this.baseKey.key.highlight(false); this.currentSelection = sk; + matchFound = true; } sk.key.highlight(onKey); } catch(ex){} } + + // Use the popup duplicate of the base key if a phone with a visible popup array + if(!matchFound && this.baseKey.key.isUnderTouch(touch)) { + this.baseKey.key.highlight(true); + this.currentSelection = this.baseKey; + } } } } \ No newline at end of file