浏览代码

fix: double popup when clicking select property value

Tienson Qin 5 月之前
父节点
当前提交
d666d1ddfe
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/frontend/components/property/value.cljs

+ 1 - 0
src/main/frontend/components/property/value.cljs

@@ -1174,6 +1174,7 @@
     (if editing?
     (if editing?
       (popup-content nil)
       (popup-content nil)
       (let [show! (fn [e]
       (let [show! (fn [e]
+                    (util/stop e)
                     (state/clear-selection!)
                     (state/clear-selection!)
                     (let [target (when e (.-target e))]
                     (let [target (when e (.-target e))]
                       (when-not (or config/publishing?
                       (when-not (or config/publishing?