From 3b7be47bec43ae1f12a3c41feea82b2a52c06188 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 5 Sep 2025 18:11:59 +0800 Subject: [PATCH] fix: action sheet height --- src/main/mobile/components/popup.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/mobile/components/popup.cljs b/src/main/mobile/components/popup.cljs index dd873a5bf9..ee7fb643d2 100644 --- a/src/main/mobile/components/popup.cljs +++ b/src/main/mobile/components/popup.cljs @@ -106,8 +106,12 @@ (silkhq/scroll-view {:class "app-silk-scroll-view overflow-y-scroll" :scrollGestureTrap {:yEnd true} - :style {:min-height (if (number? default-height) + :style {:min-height (cond + (false? default-height) + nil + (number? default-height) default-height + :else 400) :max-height "80vh"}} (silkhq/scroll-content