mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
fix: arrow up/down closes property autocomplete
This commit is contained in:
@@ -2662,7 +2662,7 @@
|
||||
(surround-by? input "#" :end)
|
||||
(= key "#"))]
|
||||
(cond
|
||||
(and (contains? #{"ArrowLeft" "ArrowRight" "ArrowUp" "ArrowDown"} key)
|
||||
(and (contains? #{"ArrowLeft" "ArrowRight"} key)
|
||||
(contains? #{:property-search :property-value-search} (state/get-editor-action)))
|
||||
(state/clear-editor-action!)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user