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