瀏覽代碼

fix: focus hidden input to invoke keyboard when capture

Tienson Qin 5 天之前
父節點
當前提交
41d8554546
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/main/mobile/components/popup.cljs
  2. 1 1
      src/main/mobile/events.cljs

+ 1 - 0
src/main/mobile/components/popup.cljs

@@ -47,6 +47,7 @@
     (cond
       presenting?
       (when (mobile-state/quick-add-open?)
+        (mobile-util/mobile-focus-hidden-input)
         (editor-handler/quick-add-open-last-block!))
 
       dismissing?

+ 1 - 1
src/main/mobile/events.cljs

@@ -19,7 +19,7 @@
                       (quick-add/quick-add))
                     {:id :ls-quick-add
                      ;; large height to avoid layout shift
-                     :default-height 740}))
+                     :default-height 750}))
 
 (defmethod events/handle :mobile/start-audio-record [_]
   (recorder/record! {:save-to-today? true}))