Преглед изворни кода

fix: arrow up/down closes property autocomplete

Tienson Qin пре 3 година
родитељ
комит
024fad1219
1 измењених фајлова са 1 додато и 1 уклоњено
  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!)