@trudb/tru-common-lib 0.2.91 → 0.2.92

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.
@@ -8441,13 +8441,12 @@ class TruDesktopWindowStateMonitor {
8441
8441
  };
8442
8442
  onKeydown(event) {
8443
8443
  if (event.key === 'Tab') {
8444
- if (this.active) {
8444
+ let overlayElement = this.overlayContainer.getContainerElement();
8445
+ if (this.active && !(overlayElement.childElementCount > 0)) {
8445
8446
  this.focusAppropriateElement(event);
8446
8447
  }
8447
8448
  else {
8448
- let overlayElement = this.overlayContainer.getContainerElement();
8449
- if (!(overlayElement.childElementCount > 0))
8450
- event.preventDefault();
8449
+ event.preventDefault();
8451
8450
  }
8452
8451
  }
8453
8452
  }