@trudb/tru-common-lib 0.2.49 → 0.2.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8425,7 +8425,7 @@ class TruDesktopWindowStateMonitor {
8425
8425
  this.setWindowState();
8426
8426
  if (this.active) {
8427
8427
  this.tabListener = this.renderer.listen('document', 'keydown', this.onKeydown.bind(this));
8428
- this.focusListener = this.renderer.listen('document', 'focusin', this.onFocusIn.bind(this));
8428
+ this.focusListener = this.renderer.listen('window', 'focusin', this.onFocusIn.bind(this));
8429
8429
  }
8430
8430
  else {
8431
8431
  if (typeof this.tabListener === 'function')