@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 (
|
|
8446
|
-
this.
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
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
|
}
|