mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
enhance(ux): clear block selections instantly before closing the block context menu
This commit is contained in:
@@ -839,6 +839,7 @@
|
||||
(fn [{:keys [id]}]
|
||||
[:div {:on-click #(shui/popup-hide! id)} content])
|
||||
{:content-props {:class "w-[280px] ls-context-menu-content"}
|
||||
:root-props {:onOpenChange #(when-not % (state/clear-selection!))}
|
||||
:as-dropdown? true}))
|
||||
|
||||
handled
|
||||
|
||||
Reference in New Issue
Block a user