Explorar o código

fix: prevent default

Weihua Lu %!s(int64=4) %!d(string=hai) anos
pai
achega
94a9ea4988
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/main/frontend/handler/editor.cljs

+ 1 - 0
src/main/frontend/handler/editor.cljs

@@ -2366,6 +2366,7 @@
         (when (and (not (state/get-editor-show-input))
                    (not (state/get-editor-show-date-picker?))
                    (not (state/get-editor-show-template-search?)))
+          (util/stop e)
           (indent-outdent (not (= :left direction)))
           (and input pos
                (when-let [input (state/get-input)]