enhance(ux): up/down to hide action bar

This commit is contained in:
Tienson Qin
2025-03-11 09:32:36 +08:00
parent de58a1926b
commit ee6c3e9360
2 changed files with 2 additions and 1 deletions

View File

@@ -3390,6 +3390,7 @@
(defn shortcut-up-down [direction]
(fn [e]
(state/pub-event! [:editor/hide-action-bar])
(when (and (not (auto-complete?))
(or (in-page-preview?)
(not (in-shui-popup?)))