Browse Source

fix(gui-v2): disable grid navigation if column options are open

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3022/head
mertmit 2 years ago
parent
commit
a794f8a7ce
  1. 1
      packages/nc-gui-v2/components/smartsheet-header/Menu.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet/Grid.vue

1
packages/nc-gui-v2/components/smartsheet-header/Menu.vue

@ -72,6 +72,7 @@ onClickOutside(editOrAddCard, () => {
ref="editOrAddCard"
:edit-column-dropdown="editColumnDropdown"
@click.stop
@keydown.stop
@cancel="editColumnDropdown = false"
/>
</template>

2
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -297,7 +297,7 @@ const onNavigate = (dir: NavigateDir) => {
</div>
<template #overlay>
<SmartsheetColumnEditOrAdd @click.stop @cancel="addColumnDropdown = false" />
<SmartsheetColumnEditOrAdd @click.stop @keydown.stop @cancel="addColumnDropdown = false" />
</template>
</a-dropdown>
</th>

Loading…
Cancel
Save