Skip to content

Commit 2ed330a

Browse files
committed
chore: adjust offset
1 parent dd7d053 commit 2ed330a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Body/BodyRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function getCellProps<RecordType>(
8282
if (expandable && rowSpan > 1) {
8383
let currentRowSpan = rowSpan;
8484

85-
for (let i = index; i < index + rowSpan - 1; i += 1) {
85+
for (let i = index; i < index + rowSpan; i += 1) {
8686
const rowKey = rowKeys[i];
8787
if (expandedKeys.has(rowKey)) {
8888
currentRowSpan += 1;

0 commit comments

Comments
 (0)