diff --git a/app/static/js/app.js b/app/static/js/app.js index 08cf9553b..dfd298a85 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -142,6 +142,12 @@ function browserLanguage() { // Send a keystroke message to the backend, and add a key card to the web UI. function sendKeystroke(keystroke) { + // On Android, when the user is typing with autocomplete enabled, the browser + // sends dummy keydown events with a keycode of 229. Ignore these events, as + // there's no way to map it to a real key. + if (keystroke.keyCode === 229) { + return; + } let keyCard = undefined; if (!keystroke.metaKey) { keyCard = addKeyCard(keystroke.key); diff --git a/app/templates/custom-elements/remote-screen.html b/app/templates/custom-elements/remote-screen.html index 7ebea4037..07943162c 100644 --- a/app/templates/custom-elements/remote-screen.html +++ b/app/templates/custom-elements/remote-screen.html @@ -30,8 +30,14 @@ :host([fullscreen="true"]) #remote-screen-img.full-height { height: 100%; } + + #mobile-keyboard-input { + position: fixed; + bottom: -1000px; + }
+