@pepperi-addons/ngx-lib 0.4.2-beta.92 → 0.4.2-beta.94

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.
@@ -1595,14 +1595,7 @@ class PepListComponent {
1595
1595
  setColumnsWidth(widthToSet, wait = false) {
1596
1596
  this.renderer.setStyle(this.hostElement.nativeElement, 'width', widthToSet);
1597
1597
  // Do this only after UI is change cause the property isTable is Input and can refresh after this thread.
1598
- if (this.virtualScroller) {
1599
- this.renderer.setStyle(this.virtualScroller.contentElementRef.nativeElement, 'width', widthToSet === 'inherit' ? '100%' : widthToSet);
1600
- }
1601
- // Wait for delay to update properties in the last chosen and not this.
1602
- // await new Promise((resolve) => setTimeout(resolve, 0));
1603
1598
  setTimeout(() => {
1604
- this.renderer.setStyle(this.hostElement.nativeElement, 'width', widthToSet);
1605
- // Do this only after UI is change cause the property isTable is Input and can refresh after this thread.
1606
1599
  if (this.virtualScroller) {
1607
1600
  this.renderer.setStyle(this.virtualScroller.contentElementRef.nativeElement, 'width', widthToSet === 'inherit' ? '100%' : widthToSet);
1608
1601
  }
@@ -2234,7 +2227,7 @@ class PepListComponent {
2234
2227
  }
2235
2228
  totalCalcColsWidth += uiControlField.calcColumnWidth;
2236
2229
  }
2237
- const widthToSet = (this.tableStartWidth + (widthToAdd * 2)) + 'px';
2230
+ const widthToSet = (this.tableStartWidth + widthToAdd) + 'px';
2238
2231
  console.log(`onListResize -> widthToSet: ${widthToSet} *** widthToAdd: ${widthToAdd}`);
2239
2232
  this.setColumnsWidth(widthToSet);
2240
2233
  this.checkForChanges = new Date().getTime();