Skip to content

Commit 254c705

Browse files
authored
fix(transfer): add scroll to connection screen (#2434)
1 parent ee0c827 commit 254c705

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/screens/Transfer/ExternalNode/Connection.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { memo, ReactElement, useEffect, useState } from 'react';
2-
import { StyleSheet, View } from 'react-native';
2+
import { ScrollView, StyleSheet, View } from 'react-native';
33
import Clipboard from '@react-native-clipboard/clipboard';
44
import { Trans, useTranslation } from 'react-i18next';
55

@@ -94,7 +94,7 @@ const ExternalNode = ({
9494
<ThemedView style={styles.root}>
9595
<SafeAreaInset type="top" />
9696
<NavigationHeader title={t('external.nav_title')} />
97-
<View style={styles.content} testID="ExternalNode">
97+
<ScrollView contentContainerStyle={styles.content} testID="ExternalNode">
9898
<Display>
9999
<Trans
100100
t={t}
@@ -187,7 +187,7 @@ const ExternalNode = ({
187187
onPress={onContinue}
188188
/>
189189
</View>
190-
</View>
190+
</ScrollView>
191191
<SafeAreaInset type="bottom" minPadding={16} />
192192
</ThemedView>
193193
);
@@ -198,7 +198,7 @@ const styles = StyleSheet.create({
198198
flex: 1,
199199
},
200200
content: {
201-
flex: 1,
201+
flexGrow: 1,
202202
paddingTop: 16,
203203
paddingHorizontal: 16,
204204
},
@@ -226,6 +226,7 @@ const styles = StyleSheet.create({
226226
},
227227
button: {
228228
flex: 1,
229+
marginTop: 32,
229230
},
230231
});
231232

0 commit comments

Comments
 (0)