Skip to content

Commit

Permalink
Fixed an error when hiding a column when pinned to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
mintaka2479 committed Jun 2, 2024
1 parent edfb182 commit dcfe67c
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 dcfe67c

Please sign in to comment.