Browse Source

refactor(nc-gui): on esc clear selectedRange cell code

pull/8192/head
Ramesh Mane 8 months ago
parent
commit
e15831da2e
  1. 4
      packages/nc-gui/composables/useMultiSelect/index.ts

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

@ -766,10 +766,10 @@ export function useMultiSelect(
// Handle escape
if (e.key === 'Escape') {
selectedRange.clear()
if (selectedRange.isSingleCell()) return
selectedRange.clear()
activeCell.col = null
activeCell.row = null
}

Loading…
Cancel
Save