Browse Source

Merge remote-tracking branch 'upstream/master' into whiteboards

Peng Xiao 3 years ago
parent
commit
89daddaeba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/frontend/mixins.cljs

+ 1 - 0
src/main/frontend/mixins.cljs

@@ -35,6 +35,7 @@
                          (let [target (.. e -target)]
                            ;; If the click target is outside of current node
                            (when (and
+                                  (if (state/editing?) (not (util/input? dom-node)) true)
                                   (not (dom/contains dom-node target))
                                   (not (.contains (.-classList target) "ignore-outside-event")))
                              (on-hide state e :click))))]