diff --git a/packages/nc-gui/components/virtual-cell/Links.vue b/packages/nc-gui/components/virtual-cell/Links.vue index 374bb90b5c..5493c0dc70 100644 --- a/packages/nc-gui/components/virtual-cell/Links.vue +++ b/packages/nc-gui/components/virtual-cell/Links.vue @@ -2,7 +2,7 @@ import { computed } from '@vue/reactivity' import type { ColumnType } from 'nocodb-sdk' import type { Ref } from 'vue' -import { CellValueInj, ColumnInj, inject } from '#imports' +import { CellValueInj, ColumnInj, inject, useSelectedCellKeyupListener } from '#imports' const value = inject(CellValueInj) @@ -64,10 +64,19 @@ const openChildList = () => { if(!isLocked.value) childListDlg = true } + +useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEvent) => { + switch (e.key) { + case 'Enter': + listItemsDlg.value = true + e.stopPropagation() + break + } +})