mirror of
https://github.com/penpot/penpot.git
synced 2025-05-07 03:35:54 +02:00
🐛 Fix tab to apply changes in inputs
This commit is contained in:
parent
363b0ba997
commit
f13c82da2a
1 changed files with 8 additions and 9 deletions
|
@ -203,8 +203,7 @@
|
||||||
(mf/deps value-str)
|
(mf/deps value-str)
|
||||||
(fn []
|
(fn []
|
||||||
(when-let [input-node (mf/ref-val ref)]
|
(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/use-effect
|
||||||
(mf/deps handle-blur)
|
(mf/deps handle-blur)
|
||||||
|
|
Loading…
Add table
Reference in a new issue