From cb85b32e14bfa4f66eb965fc6bbca0cafe8a4662 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Thu, 22 Jan 2026 14:03:55 -0300 Subject: [PATCH] fix: Fixes UI layout regression on earlier Android versions (#2970) --- packages/mobile/src/MobileWebAppContainer.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/mobile/src/MobileWebAppContainer.tsx b/packages/mobile/src/MobileWebAppContainer.tsx index 50986e08d..9b6b4058c 100644 --- a/packages/mobile/src/MobileWebAppContainer.tsx +++ b/packages/mobile/src/MobileWebAppContainer.tsx @@ -48,6 +48,8 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo const insets = useSafeAreaInsets() const screenHeight = Dimensions.get('screen').height + const androidVersion = Platform.OS === 'android' ? Platform.Version : 0 + const useFlexLayout = Platform.OS === 'ios' || androidVersion < 34 const [webViewContainerHeight, setWebViewContainerHeight] = useState(screenHeight) useEffect(() => { @@ -427,16 +429,16 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo return (