mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
fix(mobile): modal pop window position
This commit is contained in:
@@ -2524,8 +2524,7 @@
|
||||
(commands/simple-insert!
|
||||
parent-id bounds
|
||||
{:backward-pos backward-pos
|
||||
:check-fn (fn [_ _ new-pos]
|
||||
(reset! commands/*slash-caret-pos new-pos)
|
||||
:check-fn (fn []
|
||||
(commands/handle-step [:editor/search-page]))}))]
|
||||
(state/set-editor-show-page-search! false)
|
||||
(let [selection (get-selection-and-format)
|
||||
@@ -2556,8 +2555,7 @@
|
||||
(commands/simple-insert!
|
||||
parent-id bounds
|
||||
{:backward-pos backward-pos
|
||||
:check-fn (fn [_ _ new-pos]
|
||||
(reset! commands/*slash-caret-pos new-pos)
|
||||
:check-fn (fn []
|
||||
(commands/handle-step [:editor/search-block]))}))]
|
||||
(state/set-editor-show-block-search! false)
|
||||
(if-let [embed-ref (thingatpt/embed-macro-at-point input)]
|
||||
|
||||
Reference in New Issue
Block a user