Skip to content

Commit

Permalink
fix(table): container
Browse files Browse the repository at this point in the history
  • Loading branch information
chaishi committed Dec 12, 2023
1 parent ee0467d commit 3081253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useVirtualScroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const useVirtualScroll = (container: MutableRefObject<HTMLElement>, params: UseV
}, 1);
},
// eslint-disable-next-line
[container.current, data, tScroll, isVirtualScroll, startAndEndIndex, trHeightList, tripleBufferSize],
[container, data, tScroll, isVirtualScroll, startAndEndIndex, trHeightList, tripleBufferSize],
);

return {
Expand Down

0 comments on commit 3081253

Please sign in to comment.