From 63cad4df72bba7821fd106f1aa0dc4b3732b1f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 3 May 2022 21:46:16 +0200 Subject: [PATCH] do not remove focus on mouse leave. --- src/component/overlay.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/component/overlay.vue b/src/component/overlay.vue index 1d6cf8b4..4a4cd05f 100644 --- a/src/component/overlay.vue +++ b/src/component/overlay.vue @@ -122,7 +122,7 @@ // Initialize Guacamole Keyboard this.keyboard.onkeydown = (key: number) => { - if (!this.focused || !this.isControling) { + if (!this.isControling) { noKeyUp[key] = true return true } @@ -337,7 +337,6 @@ }) } - this._textarea.blur() this.focused = false }