Browse Source

fix(gui): bind keydown handler to document

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4968/head
Pranav C 2 years ago
parent
commit
599f003773
  1. 2
      packages/nc-gui/composables/useMultiSelect/index.ts

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

@ -377,7 +377,7 @@ export function useMultiSelect(
const clearSelectedRange = selectedRange.clear.bind(selectedRange)
useEventListener(tbodyEl, 'keydown', handleKeyDown)
useEventListener(document, 'keydown', handleKeyDown)
useEventListener(tbodyEl, 'mouseup', handleMouseUp)
return {

Loading…
Cancel
Save