mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 23:11:37 +02:00
🐛 Fix scape key to clear focus on input
This commit is contained in:
parent
eef42acf79
commit
fe7f4004f1
4 changed files with 48 additions and 8 deletions
|
@ -163,7 +163,8 @@
|
|||
(when enter?
|
||||
(dom/blur! input-node))
|
||||
(when esc?
|
||||
(update-input value-str)))))
|
||||
(update-input value-str)
|
||||
(dom/blur! input-node)))))
|
||||
|
||||
handle-mouse-wheel
|
||||
(mf/use-callback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue