diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index 147627bc1b..9e94cab14c 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -24,6 +24,8 @@ const vModel = useVModel(props, 'modelValue', emit) const column = inject(ColumnInj) +const filterQueryRef = ref() + const { childrenExcludedList, loadChildrenExcludedList, @@ -141,6 +143,12 @@ useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => { } } break + default: { + const el = filterQueryRef.value?.$el + if (el) { + filterQueryRef.value.$el.focus() + } + } } }) const activeRow = (vNode?: InstanceType) => { @@ -159,6 +167,7 @@ const activeRow = (vNode?: InstanceType) => {