fix: search in sidebar conflicts with block selection

Fixes #10611
This commit is contained in:
Tienson Qin
2023-12-04 23:57:53 +08:00
parent ed06991f46
commit eb90314410

View File

@@ -627,7 +627,7 @@
(reset! (::shift? state) shift?)
(reset! (::meta? state) meta?)
(when (or as-keydown? as-keyup?)
(.preventDefault e))
(util/stop e))
(cond
(and meta? enter?)