mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
improve cursor scroll
This commit is contained in:
@@ -1681,7 +1681,8 @@
|
||||
(move-nodes blocks))
|
||||
(when-let [input-id (state/get-edit-input-id)]
|
||||
(when-let [input (gdom/getElement input-id)]
|
||||
(.focus input))))
|
||||
(.focus input)
|
||||
(js/setTimeout #(util/scroll-editor-cursor input) 100))))
|
||||
(let [ids (state/get-selection-block-ids)]
|
||||
(when (seq ids)
|
||||
(let [lookup-refs (map (fn [id] [:block/uuid id]) ids)
|
||||
|
||||
Reference in New Issue
Block a user