Skip to content

Commit

Permalink
Fixed an error when hiding a column when pinned to the right (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintaka2479 authored Jun 7, 2024
1 parent edfb182 commit cf96e4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useMRT_ColumnVirtualizer = <
.sort((a, b) => a - b),
]
: [[], []],
[columnPinning, enableColumnPinning],
[visibleColumns.length, columnPinning, enableColumnPinning],
);

const numPinnedLeft = leftPinnedIndexes.length;
Expand Down

0 comments on commit cf96e4b

Please sign in to comment.