0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Fix problem with text editing auto-height

This commit is contained in:
alonso.torres 2021-05-12 15:18:30 +02:00
parent 7d19518ba8
commit 4977c22b08
2 changed files with 4 additions and 1 deletions

View file

@ -14,6 +14,7 @@
### :bug: Bugs fixed
- Fix issues on group rendering.
- Fix problem with text editing auto-height [Taiga #1683](https://tree.taiga.io/project/penpot/issue/1683)
## 1.5.3-alpha

View file

@ -139,7 +139,9 @@
[:div.text-editor
{:ref self-ref
:style {:cursor cur/text}
:style {:cursor cur/text
:width (:width shape)
:height (:height shape)}
:on-click (st/emitf (dwt/focus-editor))
:class (dom/classnames
:align-top (= (:vertical-align content "top") "top")