Browse Source

fix: cells associated with picker

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5847/head
mertmit 1 year ago
parent
commit
071474cdbb
  1. 8
      packages/nc-gui/composables/useMultiSelect/index.ts

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

@ -244,9 +244,11 @@ export function useMultiSelect(
selectedRange.startRange({ row, col })
// clear active cell on selection start
activeCell.row = null
activeCell.col = null
if (activeCell.row !== row || activeCell.col !== col) {
// clear active cell on selection start
activeCell.row = null
activeCell.col = null
}
}
const handleCellClick = (event: MouseEvent, row: number, col: number) => {

Loading…
Cancel
Save