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

close #6376
pull/6378/head
Tienson Qin 2022-08-16 11:06:34 +08:00
parent 0283c40abc
commit aa38e83fa4
1 changed files with 0 additions and 1 deletions

View File

@ -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))))]