From 8cec8fc9f244503db236a00a96992370c4393cb0 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Mon, 15 May 2023 10:28:01 +0700 Subject: [PATCH] fix(web): osk failed to hide after mouseover -> mouseout --- web/src/app/browser/src/oskConfiguration.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/app/browser/src/oskConfiguration.ts b/web/src/app/browser/src/oskConfiguration.ts index 831583421e..caf50d39fd 100644 --- a/web/src/app/browser/src/oskConfiguration.ts +++ b/web/src/app/browser/src/oskConfiguration.ts @@ -64,7 +64,8 @@ export function setupOskListeners(engine: KeymanEngine, osk: OSKView, contextMan // On event start focusAssistant.setMaintainingFocus(true); - // The original did nothing when the pointer left the OSK's bounds. Possible bug? - // await promise; // should we wish to change that. + await promise; + + focusAssistant.setMaintainingFocus(false); }); } \ No newline at end of file