diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index ce20dbfa94..01cc8e824b 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -123,7 +123,7 @@ const { isPhoneNumber, } = useColumn(column) -const syncAndNavigate = (dir: NavigateDir) => { +const syncAndNavigate = (dir: NavigateDir, e: KeyboardEvent) => { if (isJSON.value) return if (currentRow.value.rowMeta.changed) { @@ -131,6 +131,8 @@ const syncAndNavigate = (dir: NavigateDir) => { currentRow.value.rowMeta.changed = false } emit('navigate', dir) + + if (!isForm.value) e.stopImmediatePropagation() } @@ -138,8 +140,8 @@ const syncAndNavigate = (dir: NavigateDir) => {