mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 00:01:51 -05:00
🐛 Fix After cancel edit annotation its content is not shown in full view
This commit is contained in:
parent
3a1f861303
commit
4456b08dae
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@
|
||||||
(let [textarea (mf/ref-val textarea-ref)]
|
(let [textarea (mf/ref-val textarea-ref)]
|
||||||
(aset textarea "value" annotation)
|
(aset textarea "value" annotation)
|
||||||
(reset! editing? false)
|
(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]
|
save (fn [event]
|
||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(let [textarea (mf/ref-val textarea-ref)
|
(let [textarea (mf/ref-val textarea-ref)
|
||||||
|
|
Loading…
Add table
Reference in a new issue