fix: virtualized list on mobile

This commit is contained in:
Tienson Qin
2025-05-28 21:41:20 +08:00
parent 49f3c78ff6
commit 40d6f2e237

View File

@@ -100,7 +100,9 @@
(.querySelector "[part=scroll]"))))
#?(:cljs (defn app-scroll-container-node
([]
(gdom/getElement "main-content-container"))
(if (capacitor-new?)
(current-page-scroll)
(gdom/getElement "main-content-container")))
([el]
(if (capacitor-new?)
(current-page-scroll)