Browse Source

fix: Fixed issue with cell selection and ctrl a and all other shortcuts working inspite of rich modal when open

pull/7046/head
Muhammed Mustafa 10 months ago
parent
commit
3b226fc5e5
  1. 6
      packages/nc-gui/components/cell/TextArea.vue
  2. 4
      packages/nc-gui/composables/useMultiSelect/index.ts

6
packages/nc-gui/components/cell/TextArea.vue

@ -174,7 +174,11 @@ watch(editEnabled, () => {
</div>
<template #overlay>
<div ref="inputWrapperRef" class="flex flex-col min-w-200 min-h-70 py-3 pl-3 pr-1 expanded-cell-input relative">
<div
v-if="isVisible"
ref="inputWrapperRef"
class="flex flex-col min-w-200 min-h-70 py-3 pl-3 pr-1 expanded-cell-input relative"
>
<div
v-if="column"
class="flex flex-row gap-x-1 items-center font-medium pb-2.5 mb-1 py-1 mr-3 ml-1 border-b-1 border-gray-100"

4
packages/nc-gui/composables/useMultiSelect/index.ts

@ -486,6 +486,10 @@ export function useMultiSelect(
return true
}
if (isExpandedCellInputExist()) {
return
}
if (!isCellActive.value || activeCell.row === null || activeCell.col === null) {
return
}

Loading…
Cancel
Save