Update RemoteDesktopModal.vue
This commit is contained in:
@@ -193,7 +193,7 @@ const setupInputListeners = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
keyboard.value = new Guacamole.Keyboard(displayEl);
|
keyboard.value = new Guacamole.Keyboard(document); // Attach listener to document for better capture
|
||||||
|
|
||||||
keyboard.value.onkeydown = (keysym: number) => {
|
keyboard.value.onkeydown = (keysym: number) => {
|
||||||
if (guacClient.value) {
|
if (guacClient.value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user