Browse Source

fix(gui): multi-select dropdown closing issue on selecting an option

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4957/head
Pranav C 2 years ago
parent
commit
ace0b2f800
  1. 2
      packages/nc-gui/components/cell/MultiSelect.vue

2
packages/nc-gui/components/cell/MultiSelect.vue

@ -304,7 +304,7 @@ const handleClose = (e: MouseEvent) => {
isOpen.value &&
aselect.value &&
!aselect.value.$el.contains(e.target) &&
!document.querySelector('.nc-dropdown-multi-select-cell')?.contains(e.target as Node)
!document.querySelector('.nc-dropdown-multi-select-cell.active')?.contains(e.target as Node)
) {
isOpen.value = false
}

Loading…
Cancel
Save