Browse Source

fix(gui): stop enter key event propagation

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4957/head
Pranav C 2 years ago
parent
commit
b747c60f34
  1. 3
      packages/nc-gui/components/cell/SingleSelect.vue

3
packages/nc-gui/components/cell/SingleSelect.vue

@ -195,6 +195,9 @@ const onKeydown = (e: KeyboardEvent) => {
if (isOpen.value && (active.value || editable.value)) {
e.stopPropagation()
}
if (e.key === 'Enter') {
e.stopPropagation()
}
}
</script>

Loading…
Cancel
Save