mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 07:06:49 +00:00
fix(nc-gui): multi selected cell should not go away on press esc
This commit is contained in:
@@ -764,16 +764,6 @@ export function useMultiSelect(
|
||||
}
|
||||
}
|
||||
|
||||
// Handle escape
|
||||
if (e.key === 'Escape') {
|
||||
if (selectedRange.isSingleCell()) return
|
||||
|
||||
selectedRange.clear()
|
||||
|
||||
activeCell.col = null
|
||||
activeCell.row = null
|
||||
}
|
||||
|
||||
if (unref(editEnabled) || e.ctrlKey || e.altKey || e.metaKey) {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user