From ebfc9fd32d4112ed00d37454586a9a2b128f344c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 20 Jun 2023 11:48:35 +0530 Subject: [PATCH] fix: enter key related issue in modal Signed-off-by: Pranav C --- packages/nc-gui/components/virtual-cell/Links.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/virtual-cell/Links.vue b/packages/nc-gui/components/virtual-cell/Links.vue index 9428f6f255..6d17b1f30a 100644 --- a/packages/nc-gui/components/virtual-cell/Links.vue +++ b/packages/nc-gui/components/virtual-cell/Links.vue @@ -76,7 +76,7 @@ const openChildList = () => { useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEvent) => { switch (e.key) { case 'Enter': - if (isLocked.value) return + if (isLocked.value || listItemsDlg.value) return childListDlg.value = true e.stopPropagation() break