0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 11:38:24 -05:00

🐛 Fix tab to apply changes in inputs

This commit is contained in:
alonso.torres 2022-01-14 11:58:40 +01:00
parent 363b0ba997
commit f13c82da2a

View file

@ -203,8 +203,7 @@
(mf/deps value-str)
(fn []
(when-let [input-node (mf/ref-val ref)]
(when-not (dom/active? input-node)
(dom/set-value! input-node value-str)))))
(dom/set-value! input-node value-str))))
(mf/use-effect
(mf/deps handle-blur)