diff --git a/packages/nc-gui/components/cell/SingleSelect.vue b/packages/nc-gui/components/cell/SingleSelect.vue index 03dc439583..31ef07cbd8 100644 --- a/packages/nc-gui/components/cell/SingleSelect.vue +++ b/packages/nc-gui/components/cell/SingleSelect.vue @@ -189,6 +189,13 @@ const toggleMenu = (e: Event) => { } isOpen.value = editAllowed.value && !isOpen.value } + +// prevent propagation of keydown event if select is open +const onKeydown = (e: KeyboardEvent) => { + if (isOpen.value && (active.value || editable.value)) { + e.stopPropagation() + } +}