|
|
@ -211,6 +211,7 @@ const { |
|
|
|
makeActive, |
|
|
|
makeActive, |
|
|
|
selectedRange, |
|
|
|
selectedRange, |
|
|
|
isCellInFillRange, |
|
|
|
isCellInFillRange, |
|
|
|
|
|
|
|
isFillMode, |
|
|
|
} = useMultiSelect( |
|
|
|
} = useMultiSelect( |
|
|
|
meta, |
|
|
|
meta, |
|
|
|
fields, |
|
|
|
fields, |
|
|
@ -668,10 +669,13 @@ onClickOutside(tableBodyEl, (e) => { |
|
|
|
|
|
|
|
|
|
|
|
if (editEnabled && (isVirtualCol(activeCol) || activeCol.uidt === UITypes.JSON)) return |
|
|
|
if (editEnabled && (isVirtualCol(activeCol) || activeCol.uidt === UITypes.JSON)) return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// skip if fill mode is active |
|
|
|
|
|
|
|
if (isFillMode.value) return |
|
|
|
|
|
|
|
|
|
|
|
// ignore unselecting if clicked inside or on the picker(Date, Time, DateTime, Year) |
|
|
|
// ignore unselecting if clicked inside or on the picker(Date, Time, DateTime, Year) |
|
|
|
// or single/multi select options |
|
|
|
// or single/multi select options |
|
|
|
const activePickerOrDropdownEl = document.querySelector( |
|
|
|
const activePickerOrDropdownEl = document.querySelector( |
|
|
|
'.nc-picker-datetime.active,.nc-dropdown-single-select-cell.active,.nc-dropdown-multi-select-cell.active,.nc-picker-date.active,.nc-picker-year.active,.nc-picker-time.active,.nc-fill-handle', |
|
|
|
'.nc-picker-datetime.active,.nc-dropdown-single-select-cell.active,.nc-dropdown-multi-select-cell.active,.nc-picker-date.active,.nc-picker-year.active,.nc-picker-time.active', |
|
|
|
) |
|
|
|
) |
|
|
|
if ( |
|
|
|
if ( |
|
|
|
e.target && |
|
|
|
e.target && |
|
|
|