@trudb/tru-common-lib 0.2.308 → 0.2.310

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,6 +6524,7 @@ class TruDataGridPkeyCellRenderer {
6524
6524
  onMouseDown = (event) => {
6525
6525
  };
6526
6526
  onMouseUp = (event) => {
6527
+ this.params.api.clearFocusedCell();
6527
6528
  };
6528
6529
  onCopy = (event) => {
6529
6530
  let selectedRows = this.params.api.getSelectedRows();
@@ -6555,7 +6556,7 @@ class TruDataGridPkeyCellRenderer {
6555
6556
  this.displayValue = params.value;
6556
6557
  params.eGridCell.addEventListener('contextmenu', this.onRightClick);
6557
6558
  params.eGridCell.addEventListener('mousedown', this.onMouseDown);
6558
- params.eGridCell.addEventListener('mousedown', this.onMouseUp);
6559
+ params.eGridCell.addEventListener('mouseup', this.onMouseUp);
6559
6560
  this.windowClickSubscription = fromEvent(window, 'click').subscribe((_) => {
6560
6561
  if (this.contextMenu.menuOpen) {
6561
6562
  this.contextMenu.closeMenu();