Browse Source

chore(gui): add todo

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5392/head
Pranav C 2 years ago
parent
commit
6e3d12b01b
  1. 1
      packages/nc-gui/components/smartsheet/Cell.vue
  2. 1
      packages/nc-gui/components/smartsheet/VirtualCell.vue

1
packages/nc-gui/components/smartsheet/Cell.vue

@ -152,6 +152,7 @@ const onContextmenu = (e: MouseEvent) => {
} }
} }
// Todo: move intersection logic to a separate component or a vue directive
const intersected = ref(false) const intersected = ref(false)
let intersectionObserver = $ref<IntersectionObserver>() let intersectionObserver = $ref<IntersectionObserver>()

1
packages/nc-gui/components/smartsheet/VirtualCell.vue

@ -53,6 +53,7 @@ function onNavigate(dir: NavigateDir, e: KeyboardEvent) {
if (!isForm.value) e.stopImmediatePropagation() if (!isForm.value) e.stopImmediatePropagation()
} }
// Todo: move intersection logic to a separate component or a vue directive
const intersected = ref(false) const intersected = ref(false)
let intersectionObserver = $ref<IntersectionObserver>() let intersectionObserver = $ref<IntersectionObserver>()

Loading…
Cancel
Save