@tanstack/react-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.
@@ -636,11 +636,11 @@
636
636
  const startSize = header.getSize();
637
637
  const columnSizingStart = header ? header.getLeafHeaders().map(d => [d.column.id, d.column.getSize()]) : [[column.id, column.getSize()]];
638
638
  const clientX = isTouchStartEvent(e) ? Math.round(e.touches[0].clientX) : e.clientX;
639
- const newColumnSizing = {};
640
639
  const updateOffset = (eventType, clientXPos) => {
641
640
  if (typeof clientXPos !== 'number') {
642
641
  return;
643
642
  }
643
+ let newColumnSizing = {};
644
644
  table.setColumnSizingInfo(old => {
645
645
  var _old$startOffset, _old$startSize;
646
646
  const deltaOffset = clientXPos - ((_old$startOffset = old?.startOffset) != null ? _old$startOffset : 0);