Skip to content

Commit

Permalink
feat(component): fix the looping of the worksheet (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-apostoliuk authored Jun 22, 2023
1 parent 2a87ba8 commit 2135025
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ export const useAutoFilling = <T extends WorksheetItem>(cell: Cell<T>) => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
availableCells.map(({ hash }) => rows[selectedCells[0].rowIndex][hash]),
);

setBlockFillOut(true);
}
}, [
disabledRows,
Expand All @@ -126,6 +128,7 @@ export const useAutoFilling = <T extends WorksheetItem>(cell: Cell<T>) => {
selectedCells,
setSelectingActive,
updateItems,
setBlockFillOut,
]);

return {
Expand Down

0 comments on commit 2135025

Please sign in to comment.