🐛 Fix scape key to clear focus on input

This commit is contained in:
Eva 2023-01-09 12:51:10 +01:00
parent eef42acf79
commit fe7f4004f1
4 changed files with 48 additions and 8 deletions

View file

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