Skip to content

Commit 8ed64d7

Browse files
committed
fix: iOS home element overlapping bundle content in default modal
PE-1346
1 parent b2d7882 commit 8ed64d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/trustBadge/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const TrustBadgeComponent = ({
8484
React.useEffect(() => {
8585
if (showWebview) {
8686
Animated.timing(growAnim, {
87-
toValue: containerHeight,
87+
toValue: containerHeight + styles.modalContainer.paddingBottom,
8888
easing: Easing.ease,
8989
duration: 350,
9090
useNativeDriver: false,
@@ -158,6 +158,7 @@ const styles = StyleSheet.create({
158158
modalContainer: {
159159
height: bundleLoadingHeight,
160160
borderTopWidth: 1,
161+
backgroundColor: 'white',
161162
borderColor: '#EDEDED',
162163
shadowColor: '#000',
163164
shadowOffset: {
@@ -167,5 +168,6 @@ const styles = StyleSheet.create({
167168
shadowOpacity: 0.25,
168169
shadowRadius: 24,
169170
elevation: 3,
171+
paddingBottom: 12,
170172
},
171173
});

0 commit comments

Comments
 (0)