Browse Source

Merge pull request #9791 from nocodb/nc-selection-issue

fix: remove selection
pull/9793/head
Anbarasu 2 weeks ago committed by GitHub
parent
commit
8efa77e1d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      packages/nc-gui/composables/useMultiSelect/index.ts

7
packages/nc-gui/composables/useMultiSelect/index.ts

@ -1120,13 +1120,6 @@ export function useMultiSelect(
undefined, undefined,
bulkOpsCols.map(({ column }) => column), 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?.() scrollToCell?.()
} else { } else {
await bulkUpdateRows?.(updatedRows, propsToPaste) await bulkUpdateRows?.(updatedRows, propsToPaste)

Loading…
Cancel
Save