fix(web): osk failed to hide after mouseover -> mouseout

This commit is contained in:
Joshua A. Horton 2023-05-15 10:28:01 +07:00
parent 503c6d340c
commit 8cec8fc9f2

View file

@ -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);
});
}