diff --git a/app/components/Views/confirmations/Confirm/Confirm.styles.ts b/app/components/Views/confirmations/Confirm/Confirm.styles.ts index d82250239cf..524ef01b46c 100644 --- a/app/components/Views/confirmations/Confirm/Confirm.styles.ts +++ b/app/components/Views/confirmations/Confirm/Confirm.styles.ts @@ -37,12 +37,7 @@ const styleSheet = (params: { padding: 4, }, scrollable: { - minHeight: '100%', - }, - scrollWrapper: { - minHeight: isFlatConfirmation ? '100%' : '75%', - maxHeight: isFlatConfirmation ? '100%' : '75%', - margin: 0, + height: '75%', }, }); }; diff --git a/app/components/Views/confirmations/Confirm/Confirm.tsx b/app/components/Views/confirmations/Confirm/Confirm.tsx index f6e5c9a31bf..2bf02fc2f62 100644 --- a/app/components/Views/confirmations/Confirm/Confirm.tsx +++ b/app/components/Views/confirmations/Confirm/Confirm.tsx @@ -1,5 +1,10 @@ import React from 'react'; -import { ScrollView, StyleSheet, View } from 'react-native'; +import { + ScrollView, + StyleSheet, + TouchableWithoutFeedback, + View, +} from 'react-native'; import { TransactionType } from '@metamask/transaction-controller'; import { useStyles } from '../../../../component-library/hooks'; @@ -26,15 +31,14 @@ const ConfirmWrapped = ({ }) => ( - <View style={styles.scrollWrapper}> - <ScrollView - style={styles.scrollable} - contentContainerStyle={styles.scrollableSection} - > - <SignatureBlockaidBanner /> - <Info /> - </ScrollView> - </View> + <ScrollView style={styles.scrollable}> + <TouchableWithoutFeedback> + <View style={styles.scrollableSection}> + <SignatureBlockaidBanner /> + <Info /> + </View> + </TouchableWithoutFeedback> + </ScrollView> <Footer /> </QRHardwareContextProvider> );