@trudb/tru-common-lib 0.2.91 → 0.2.93

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