Browse Source

fix: can not exit edit mode by clicking on the blank space

close #6376
Tienson Qin 3 years ago
parent
commit
aa38e83fa4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/main/frontend/mixins.cljs

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

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