From 24a1a2ca6440a52cb20e6f39e1d99bdf2c5485bb Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 1 Feb 2023 16:23:49 +0530 Subject: [PATCH] fix(gui): trigger single select dropdown on clicking anywhere in the cell(td) Signed-off-by: Pranav C --- .../nc-gui/components/cell/MultiSelect.vue | 1 - .../nc-gui/components/cell/SingleSelect.vue | 40 +++++++++++++------ 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index 99a26e65a2..09ded5e866 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -273,7 +273,6 @@ const onTagClick = (e: Event, onClose: Function) => { } } - const cellClickHook = inject(CellClickHookInj) const toggleMenu = () => { diff --git a/packages/nc-gui/components/cell/SingleSelect.vue b/packages/nc-gui/components/cell/SingleSelect.vue index 4bea41e466..accb0576e4 100644 --- a/packages/nc-gui/components/cell/SingleSelect.vue +++ b/packages/nc-gui/components/cell/SingleSelect.vue @@ -1,10 +1,12 @@