Browse Source

fix: selection position

Tienson Qin 5 months ago
parent
commit
b994749e30
2 changed files with 3 additions and 4 deletions
  1. 3 3
      src/main/capacitor/components/app.cljs
  2. 0 1
      src/main/frontend/handler/block.cljs

+ 3 - 3
src/main/capacitor/components/app.cljs

@@ -94,9 +94,9 @@
     (ion/content
      (ui-component/classic-app-container-wrap
       [:div.pt-3
-       (journal/all-journals)])
-     (when show-action-bar?
-       (action-bar/action-bar)))))
+       (journal/all-journals)
+       (when show-action-bar?
+         (action-bar/action-bar))]))))
 
 (rum/defc home < rum/reactive
   {:did-mount (fn [state]

+ 0 - 1
src/main/frontend/handler/block.cljs

@@ -300,7 +300,6 @@
                 y (.-clientY touch)]
             (reset! *swipe {:x0 x :y0 y :xi x :yi y :tx x :ty y :direction nil})))))))
 
-;; FIXME: disable scroll
 (defn on-touch-move
   [^js goog-event]
   (let [event (.-event_ goog-event)]