@trudb/tru-common-lib 0.2.251 → 0.2.252
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.
|
@@ -7818,13 +7818,12 @@ class TruDataGrid {
|
|
|
7818
7818
|
}
|
|
7819
7819
|
}));
|
|
7820
7820
|
this.subs.push(fromEvent(document, 'keydown').subscribe((event) => {
|
|
7821
|
-
if (!this.config.view.window.active)
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
}
|
|
7821
|
+
//if (!this.config.view.window.active) return;
|
|
7822
|
+
//let editingCells = this.api.getEditingCells();
|
|
7823
|
+
//if (event.code === 'Space' && !editingCells.length) {
|
|
7824
|
+
// event.preventDefault();
|
|
7825
|
+
// return;
|
|
7826
|
+
//}
|
|
7828
7827
|
if (this.config.view.active && this.config.view.window.active) {
|
|
7829
7828
|
let keySequence = this.util.getKeySequence(event);
|
|
7830
7829
|
if (keySequence === 'ctrl+i' || keySequence === 'meta+i') {
|