0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix After cancel edit annotation its content is not shown in full view

This commit is contained in:
Pablo Alba 2023-10-25 12:42:32 +02:00 committed by Alonso Torres
parent 3a1f861303
commit 4456b08dae

View file

@ -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)