@seniorsistemas/angular-components 14.16.6 → 14.16.7

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.
@@ -3978,7 +3978,9 @@
3978
3978
  this.el = el;
3979
3979
  this.host = host;
3980
3980
  this.sTableFrozenPosition = "left";
3981
+ this.isTableVisible = false;
3981
3982
  this.onColumnsChanged = new core.EventEmitter();
3983
+ this.table = host;
3982
3984
  this.host.onColResize.subscribe(function () {
3983
3985
  _this.handleColResize();
3984
3986
  });
@@ -4014,6 +4016,15 @@
4014
4016
  this.applyStylesForTable();
4015
4017
  this.setUpColumnMonitoring();
4016
4018
  };
4019
+ TableFrozenPositionDirective.prototype.ngAfterContentChecked = function () {
4020
+ if (!this.isTableVisible && !!this.table.el.nativeElement.offsetParent) {
4021
+ this.isTableVisible = true;
4022
+ this.synchronizeRowHeight();
4023
+ }
4024
+ else if (this.isTableVisible && !this.table.el.nativeElement.offsetParent) {
4025
+ this.isTableVisible = false;
4026
+ }
4027
+ };
4017
4028
  TableFrozenPositionDirective.prototype.ngOnDestroy = function () {
4018
4029
  window.removeEventListener("resize", this.handleWindowResize.bind(this));
4019
4030
  if (this.tableHeadObservable) {