From 6e3d12b01b2b71eadc571be9f707d3adb774787b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 3 Apr 2023 11:08:32 +0530 Subject: [PATCH] chore(gui): add todo Signed-off-by: Pranav C --- packages/nc-gui/components/smartsheet/Cell.vue | 1 + packages/nc-gui/components/smartsheet/VirtualCell.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index c65ead631d..4a61552030 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/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) let intersectionObserver = $ref() diff --git a/packages/nc-gui/components/smartsheet/VirtualCell.vue b/packages/nc-gui/components/smartsheet/VirtualCell.vue index 3d72d553c9..26d820b37c 100644 --- a/packages/nc-gui/components/smartsheet/VirtualCell.vue +++ b/packages/nc-gui/components/smartsheet/VirtualCell.vue @@ -53,6 +53,7 @@ function onNavigate(dir: NavigateDir, e: KeyboardEvent) { if (!isForm.value) e.stopImmediatePropagation() } +// Todo: move intersection logic to a separate component or a vue directive const intersected = ref(false) let intersectionObserver = $ref()