From 4456b08dae4a82ef92cc4c6d675e881c7fc5aff1 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 25 Oct 2023 12:42:32 +0200 Subject: [PATCH] :bug: Fix After cancel edit annotation its content is not shown in full view --- .../app/main/ui/workspace/sidebar/options/menus/component.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs index f4f0114fc..af382cdb2 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs @@ -58,7 +58,8 @@ (let [textarea (mf/ref-val textarea-ref)] (aset textarea "value" annotation) (reset! editing? false) - (st/emit! (dw/set-annotations-id-for-create nil)))) + (st/emit! (dw/set-annotations-id-for-create nil)) + (autogrow))) save (fn [event] (dom/stop-propagation event) (let [textarea (mf/ref-val textarea-ref)