Skip to content

Commit

Permalink
Merge branch '6.0.0' into jason/cell-activation-behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
jassmith committed Dec 24, 2023
2 parents 50c69c7 + 48ef0c9 commit 803ed67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/data-editor/data-editor.tsx
Expand Up @@ -1042,7 +1042,8 @@ const DataEditorImpl: React.ForwardRefRenderFunction<DataEditorRef, DataEditorPr
[additionalRenderers, rendererMap]
);

const { sizedColumns: columns, nonGrowWidth } = useColumnSizer(
// eslint-disable-next-line prefer-const
let { sizedColumns: columns, nonGrowWidth } = useColumnSizer(
columnsIn,
rows,
getCellsForSeletionDirect,
Expand All @@ -1053,6 +1054,7 @@ const DataEditorImpl: React.ForwardRefRenderFunction<DataEditorRef, DataEditorPr
getCellRenderer,
abortControllerRef.current
);
if (rowMarkers !== "none") nonGrowWidth += rowMarkerWidth;

const enableGroups = React.useMemo(() => {
return columns.some(c => c.group !== undefined);
Expand Down

0 comments on commit 803ed67

Please sign in to comment.