Browse Source

fix: Backspace to delete selected cell

pull/6833/head
Muhammed Mustafa 1 year ago
parent
commit
d329312f24
  1. 1
      packages/nc-gui/composables/useMultiSelect/index.ts

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

@ -526,6 +526,7 @@ export function useMultiSelect(
break break
/** on delete key press clear cell */ /** on delete key press clear cell */
case 'Delete': case 'Delete':
case 'Backspace':
e.preventDefault() e.preventDefault()
if (selectedRange.isSingleCell()) { if (selectedRange.isSingleCell()) {

Loading…
Cancel
Save