@trudb/tru-common-lib 0.1.966 → 0.1.967

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.
@@ -5965,7 +5965,7 @@ class TruDataGridHeader {
5965
5965
  this.params.column.getColDef().headerComponentParams = this.params;
5966
5966
  this.params.showColumnMenu(event.target, () => {
5967
5967
  this.columnMenuIsOpen = false;
5968
- this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen;
5968
+ this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen || this.params.api.isColumnFilterPresent();
5969
5969
  });
5970
5970
  this.columnMenuIsOpen = true;
5971
5971
  }
@@ -5976,11 +5976,11 @@ class TruDataGridHeader {
5976
5976
  }
5977
5977
  onHeaderMouseEnter(event) {
5978
5978
  this.isHovering = true;
5979
- this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen;
5979
+ this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen || this.params.api.isColumnFilterPresent();
5980
5980
  }
5981
5981
  onHeaderMouseLeave(event) {
5982
5982
  this.isHovering = false;
5983
- this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen;
5983
+ this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen || this.params.api.isColumnFilterPresent();
5984
5984
  }
5985
5985
  ngOnDestroy() {
5986
5986
  this.params.column.removeEventListener('sortChanged', this.onSortChanged.bind(this));