Browse Source

fix(nc-gui): prevent focus when there is active drawer

pull/4576/head
Wing-Kam Wong 2 years ago
parent
commit
da3ad9753b
  1. 3
      packages/nc-gui/components/virtual-cell/components/ListItems.vue

3
packages/nc-gui/components/virtual-cell/components/ListItems.vue

@ -8,6 +8,7 @@ import {
IsPublicInj,
computed,
inject,
isDrawerExist,
ref,
useLTARStoreOrThrow,
useSelectedCellKeyupListener,
@ -145,7 +146,7 @@ useSelectedCellKeyupListener(vModel, (e: KeyboardEvent) => {
break
default: {
const el = filterQueryRef.value?.$el
if (el) {
if (el && !isDrawerExist()) {
filterQueryRef.value.$el.focus()
}
}

Loading…
Cancel
Save