From e37d26d0cd52b44725fead5b3fbaeaae286ad6cf Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 23 Nov 2023 11:20:38 +0000 Subject: [PATCH] fix: Now dbl click and enter on selected rich cell opens the modal and click to open is removed, and the cell active border is maintained after opening rich modal --- packages/nc-gui/components/cell/TextArea.vue | 9 ++++++++- packages/nc-gui/components/smartsheet/grid/Table.vue | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index f6016046bb..3a9cc64705 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -154,6 +154,12 @@ const dragStart = () => { isDragging.value = true } + +watch(editEnabled, () => { + if (editEnabled.value) { + isVisible.value = true + } +})