From dee2e38331047f000df4272468921a6005862265 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Mon, 11 Nov 2024 07:00:55 +0000 Subject: [PATCH] fix: remove selection --- packages/nc-gui/composables/useMultiSelect/index.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/nc-gui/composables/useMultiSelect/index.ts b/packages/nc-gui/composables/useMultiSelect/index.ts index b3e9428eb7..a9c98b2b09 100644 --- a/packages/nc-gui/composables/useMultiSelect/index.ts +++ b/packages/nc-gui/composables/useMultiSelect/index.ts @@ -1120,13 +1120,6 @@ export function useMultiSelect( undefined, bulkOpsCols.map(({ column }) => column), ) - - clearSelectedRange() - selectedRange.startRange({ row: totalRowsBeforeActiveCell, col: startColIndex }) - activeCell.row = totalRowsBeforeActiveCell + selectionRowCount - 1 - activeCell.col = startColIndex + pasteMatrixCols - - selectedRange.endRange({ row: activeCell.row, col: activeCell.col }) scrollToCell?.() } else { await bulkUpdateRows?.(updatedRows, propsToPaste)