enhance(ux): the filter-related enhancements for the cmdk cp

This commit is contained in:
charlie
2024-05-09 11:19:11 +08:00
parent bccf999853
commit 1d12ac56a1
2 changed files with 5 additions and 2 deletions

View File

@@ -33,7 +33,9 @@
(defn- search
[mode]
(editor-handler/escape-editing false)
(route-handler/go-to-search! mode))
(if (state/get-search-mode)
(js/setTimeout #(route-handler/go-to-search! mode) 128)
(route-handler/go-to-search! mode)))
;; TODO: Namespace all-default-keyboard-shortcuts keys with `:command` e.g.
;; `:command.date-picker/complete`. They are namespaced in translation but