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. 2
      packages/nc-gui/composables/useMultiSelect/index.ts

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

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

Loading…
Cancel
Save