From c0ccd2639285700cbeced6d1272028ca3875f0f6 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 19 Sep 2023 10:57:47 +0530 Subject: [PATCH] fix: text area size --- packages/nc-gui/components/cell/TextArea.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index 4d56b2c2a4..31aaa951c5 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -10,7 +10,7 @@ import { iconMap, inject, useVModel, - ReadonlyInj + ReadonlyInj, } from '#imports' const props = defineProps<{ @@ -26,7 +26,7 @@ const editEnabled = inject(EditModeInj, ref(false)) const isEditColumn = inject(EditColumnInj, ref(false)) -const rowHeight = inject(RowHeightInj, ref(undefined)) +const rowHeight = inject(RowHeightInj, ref(1 as const)) const { showNull } = useGlobal()