mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix: clicking outside action bar hide it and display it again
This commit is contained in:
@@ -750,8 +750,7 @@
|
||||
(state/get-edit-input-id)
|
||||
(= (shui-dialog/get-last-modal-id) :property-dialog)
|
||||
(some-> (.-target e) (.closest ".ls-block"))
|
||||
(some-> (.-target e) (.closest "[data-keep-selection]"))
|
||||
(editor-handler/popup-exists? :selection-action-bar))
|
||||
(some-> (.-target e) (.closest "[data-keep-selection]")))
|
||||
(editor-handler/clear-selection!)))
|
||||
|
||||
(rum/defc render-custom-context-menu
|
||||
|
||||
Reference in New Issue
Block a user