@tanstack/vue-table 8.7.2 → 8.7.3
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.
|
@@ -616,11 +616,11 @@
|
|
|
616
616
|
const startSize = header.getSize();
|
|
617
617
|
const columnSizingStart = header ? header.getLeafHeaders().map(d => [d.column.id, d.column.getSize()]) : [[column.id, column.getSize()]];
|
|
618
618
|
const clientX = isTouchStartEvent(e) ? Math.round(e.touches[0].clientX) : e.clientX;
|
|
619
|
-
const newColumnSizing = {};
|
|
620
619
|
const updateOffset = (eventType, clientXPos) => {
|
|
621
620
|
if (typeof clientXPos !== 'number') {
|
|
622
621
|
return;
|
|
623
622
|
}
|
|
623
|
+
let newColumnSizing = {};
|
|
624
624
|
table.setColumnSizingInfo(old => {
|
|
625
625
|
var _old$startOffset, _old$startSize;
|
|
626
626
|
const deltaOffset = clientXPos - ((_old$startOffset = old?.startOffset) != null ? _old$startOffset : 0);
|