@tanstack/react-table 8.0.0-alpha.78 → 8.0.0-alpha.80

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.
@@ -300,7 +300,7 @@ const Rows = {
300
300
  const column = instance.getColumn(columnId);
301
301
 
302
302
  if (!column.accessorFn) {
303
- throw new Error();
303
+ return undefined;
304
304
  }
305
305
 
306
306
  row.valuesCache[columnId] = column.accessorFn(row.original, rowIndex);
@@ -543,7 +543,7 @@ const ColumnSizing = {
543
543
  }
544
544
  }
545
545
 
546
- const startSize = column.getSize();
546
+ const startSize = header.getSize();
547
547
  const columnSizingStart = header ? header.getLeafHeaders().map(d => [d.column.id, d.column.getSize()]) : [[column.id, column.getSize()]];
548
548
  const clientX = isTouchStartEvent(e) ? Math.round(e.touches[0].clientX) : e.clientX;
549
549