Browse Source

fix(gui-v2): remove onClickOutside call for edit column menu

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

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

@ -56,12 +56,6 @@ function onVisibleChange() {
// by clicking cancel button
editColumnDropdown.value = true
}
const editOrAddCard = ref()
onClickOutside(editOrAddCard, () => {
editColumnDropdown.value = false
})
</script>
<template>
@ -69,7 +63,6 @@ onClickOutside(editOrAddCard, () => {
<span />
<template #overlay>
<SmartsheetColumnEditOrAdd
ref="editOrAddCard"
:edit-column-dropdown="editColumnDropdown"
@click.stop
@keydown.stop

Loading…
Cancel
Save