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