From f54d05f9507d83c8e7e2957a6cb228d350af9016 Mon Sep 17 00:00:00 2001 From: Whitewater Date: Thu, 20 Mar 2025 14:22:43 +0800 Subject: [PATCH] fix(mobile): ensure minimum padding at the bottom of the tab bar (#3198) --- apps/mobile/src/components/layouts/tabbar/Tabbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx b/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx index 9960dc1f9..e49601bca 100644 --- a/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx +++ b/apps/mobile/src/components/layouts/tabbar/Tabbar.tsx @@ -57,7 +57,7 @@ export const Tabbar: FC<{ accessibilityRole="tablist" className="absolute inset-x-0 bottom-0 z-10" style={{ - paddingBottom: insets.bottom, + paddingBottom: Math.max(insets.bottom, 8), transform: [{ translateY }], }} onLayout={(e) => {