mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix(mobile): don't switch to editing mode when scrolling
This commit is contained in:
@@ -53,6 +53,6 @@
|
||||
(-> (util/app-scroll-container-node)
|
||||
(gobj/get "scrollTop")))
|
||||
(reset! *scroll-timer (js/setTimeout
|
||||
(fn [] (state/set-state! :ui/scrolling? false)) 500)))
|
||||
(fn [] (state/set-state! :ui/scrolling? false)) 150)))
|
||||
debounced-on-scroll (debounce on-scroll 100)]
|
||||
(.addEventListener element "scroll" debounced-on-scroll false)))
|
||||
|
||||
Reference in New Issue
Block a user