Skip to content

Commit cd8c821

Browse files
authoredDec 20, 2023
fix: fixed crash when toggling selection of non-visible row (#5221)
1 parent 743c9b7 commit cd8c821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/table-core/src/features/RowSelection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ const mutateRowIsSelected = <TData extends RowData>(
556556
includeChildren: boolean,
557557
table: Table<TData>
558558
) => {
559-
const row = table.getRow(id)
559+
const row = table.getRow(id, true)
560560

561561
// const isGrouped = row.getIsGrouped()
562562

0 commit comments

Comments
 (0)
Please sign in to comment.