From acb3997ed7054b076925230b549f4b4e300e24da Mon Sep 17 00:00:00 2001 From: Aitor Moreno Date: Wed, 29 Apr 2026 15:07:22 +0200 Subject: [PATCH] :bug: Fix text editor v2 min size --- frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs index 75f6d4c4d6..b0b89a5102 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs @@ -289,7 +289,9 @@ :ref container-ref :data-testid "text-editor-container" :style {:width "var(--editor-container-width)" - :height "var(--editor-container-height)"}} + :height "var(--editor-container-height)" + :min-width "1px" + :min-height "1px"}} ;; We hide the editor when is blurred because otherwise the ;; selection won't let us see the underlying text. Use opacity ;; because display or visibility won't allow to recover focus