Explorar o código

fix: arrow up/down closes property autocomplete

Tienson Qin %!s(int64=3) %!d(string=hai) anos
pai
achega
024fad1219
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/frontend/handler/editor.cljs

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

@@ -2662,7 +2662,7 @@
                        (surround-by? input "#" :end)
                        (surround-by? input "#" :end)
                        (= key "#"))]
                        (= key "#"))]
       (cond
       (cond
-        (and (contains? #{"ArrowLeft" "ArrowRight" "ArrowUp" "ArrowDown"} key)
+        (and (contains? #{"ArrowLeft" "ArrowRight"} key)
              (contains? #{:property-search :property-value-search} (state/get-editor-action)))
              (contains? #{:property-search :property-value-search} (state/get-editor-action)))
         (state/clear-editor-action!)
         (state/clear-editor-action!)