Skip to content

Commit

Permalink
chore(web): better blur-event swallowing
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed Sep 21, 2022
1 parent a67dfbb commit 5c80a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/source/dom/domEventHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ namespace com.keyman.dom {

DOMEventHandlers.states._IgnoreBlurFocus = true; // Used to temporarily ignore focus changes
this._FocusKeyboardSettings(target, false);
DOMEventHandlers.states._IgnoreBlurFocus = false; // Used to temporarily ignore focus changes

// Always do the common focus stuff, instantly returning if we're in an editable iframe.
// This parallels the if-statement in _ControlFocus - it may be needed as this if-statement in the future,
Expand Down

0 comments on commit 5c80a53

Please sign in to comment.