From 3939b69eeac1342dd8015f9e6d4cc243fb32d931 Mon Sep 17 00:00:00 2001 From: Vasyl Date: Tue, 18 Mar 2025 11:04:00 +0000 Subject: [PATCH] fix: iOS home element overlapping bundle content in default modal PE-1346 --- src/trustBadge/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/trustBadge/index.tsx b/src/trustBadge/index.tsx index 3dbe575..e5ca041 100644 --- a/src/trustBadge/index.tsx +++ b/src/trustBadge/index.tsx @@ -84,7 +84,7 @@ const TrustBadgeComponent = ({ React.useEffect(() => { if (showWebview) { Animated.timing(growAnim, { - toValue: containerHeight, + toValue: containerHeight + styles.modalContainer.paddingBottom, easing: Easing.ease, duration: 350, useNativeDriver: false, @@ -158,6 +158,7 @@ const styles = StyleSheet.create({ modalContainer: { height: bundleLoadingHeight, borderTopWidth: 1, + backgroundColor: 'white', borderColor: '#EDEDED', shadowColor: '#000', shadowOffset: { @@ -167,5 +168,6 @@ const styles = StyleSheet.create({ shadowOpacity: 0.25, shadowRadius: 24, elevation: 3, + paddingBottom: 12, }, });