fix(mobile): don't switch to editing mode when scrolling

This commit is contained in:
Tienson Qin
2025-08-14 13:50:34 +08:00
parent d65f81ef0a
commit 060a0dd86b
4 changed files with 92 additions and 92 deletions

View File

@@ -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)))