@shival99/z-ui 1.7.3 → 1.7.4
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/fesm2022/shival99-z-ui-components-z-table.mjs +6 -0
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-gallery.d.ts +2 -2
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-table.d.ts +1 -1
- package/types/shival99-z-ui-components-z-timeline.d.ts +6 -6
- package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
|
@@ -3699,9 +3699,11 @@ class ZTableComponent {
|
|
|
3699
3699
|
if (this.isVirtual()) {
|
|
3700
3700
|
const wrapperEl = this.tbodyWrapper()?.nativeElement;
|
|
3701
3701
|
if (wrapperEl) {
|
|
3702
|
+
wrapperEl.dispatchEvent(new Event('resize'));
|
|
3702
3703
|
wrapperEl.scrollTop = 0;
|
|
3703
3704
|
}
|
|
3704
3705
|
this.virtualizer.scrollToOffset(0);
|
|
3706
|
+
this.virtualizer.measure();
|
|
3705
3707
|
}
|
|
3706
3708
|
this._checkVerticalScroll();
|
|
3707
3709
|
this._checkHorizontalScroll();
|
|
@@ -3731,6 +3733,10 @@ class ZTableComponent {
|
|
|
3731
3733
|
wrapperEl.scrollTop = 0;
|
|
3732
3734
|
wrapperEl.scrollLeft = this._savedScrollLeft();
|
|
3733
3735
|
}
|
|
3736
|
+
if (this.isVirtual()) {
|
|
3737
|
+
this.virtualizer.scrollToOffset(0);
|
|
3738
|
+
this.virtualizer.measure();
|
|
3739
|
+
}
|
|
3734
3740
|
this._checkScrollState();
|
|
3735
3741
|
});
|
|
3736
3742
|
});
|