@trudb/tru-common-lib 0.2.310 → 0.2.311

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.
@@ -6524,7 +6524,9 @@ class TruDataGridPkeyCellRenderer {
6524
6524
  onMouseDown = (event) => {
6525
6525
  };
6526
6526
  onMouseUp = (event) => {
6527
- this.params.api.clearFocusedCell();
6527
+ let target = event.target.parentElement;
6528
+ if (target.classList.contains('ag-row-focus'))
6529
+ target.classList.remove('ag-row-focus');
6528
6530
  };
6529
6531
  onCopy = (event) => {
6530
6532
  let selectedRows = this.params.api.getSelectedRows();
@@ -8130,8 +8132,6 @@ class TruDataGrid {
8130
8132
  if (cellData.event.ctrlKey) {
8131
8133
  if (this.rowSelectedOnMousedown) {
8132
8134
  cellData.node.setSelected(false);
8133
- if (target.classList.contains('ag-row-focus'))
8134
- target.classList.remove('ag-row-focus');
8135
8135
  }
8136
8136
  else {
8137
8137
  cellData.node.setSelected(true);