@annalib/anna-core 10.0.6 → 10.0.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.
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +4 -2
- package/fesm2015/annalib-anna-core.mjs +3 -1
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +3 -1
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1845,8 +1845,10 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1845
1845
|
let heightLeftForTable = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1846
1846
|
this.maximumRowsWhichCanBeRenderedWithoutScroll =
|
|
1847
1847
|
Math.floor((heightLeftForTable - headerHeight - rowHeight) / rowHeight) + 1;
|
|
1848
|
-
let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1848
|
+
// let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1849
|
+
let actualTableHeight = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1849
1850
|
this.gtDimension.tableHeight = `${actualTableHeight}px`;
|
|
1851
|
+
console.log('TABLE HEIGHT ->', actualTableHeight);
|
|
1850
1852
|
this.numberOfSkeletonRows = Array(this.maximumRowsWhichCanBeRenderedWithoutScroll).fill(0);
|
|
1851
1853
|
}
|
|
1852
1854
|
trackByFn(index) {
|