From b747c60f3473dcd2a4aea57b42ce3baaf7699951 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 1 Feb 2023 12:01:18 +0530 Subject: [PATCH] fix(gui): stop enter key event propagation Signed-off-by: Pranav C --- packages/nc-gui/components/cell/SingleSelect.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nc-gui/components/cell/SingleSelect.vue b/packages/nc-gui/components/cell/SingleSelect.vue index 31ef07cbd8..e01fd5541d 100644 --- a/packages/nc-gui/components/cell/SingleSelect.vue +++ b/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() + } }