0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00
This commit is contained in:
Florian Schroedl 2024-07-29 15:09:35 +02:00
parent 55ed79d968
commit 1eea55ad43

View file

@ -313,6 +313,7 @@
(mf/use-effect
(mf/deps mdata)
(fn []
(js/console.log "(mf/ref-val dropdown-ref)" (mf/ref-val dropdown-ref))
(when-let [node (mf/ref-val dropdown-ref)]
(reset! width (.-offsetWidth node)))))
[:& dropdown {:show (boolean mdata)