Fix suggested follows scrolling (#8036)
This commit is contained in:
@@ -360,35 +360,37 @@ export function ProfileGrid({
|
|||||||
</View>
|
</View>
|
||||||
) : (
|
) : (
|
||||||
<BlockDrawerGesture>
|
<BlockDrawerGesture>
|
||||||
<ScrollView
|
<View>
|
||||||
horizontal
|
<ScrollView
|
||||||
showsHorizontalScrollIndicator={false}
|
horizontal
|
||||||
snapToInterval={MOBILE_CARD_WIDTH + a.gap_md.gap}
|
showsHorizontalScrollIndicator={false}
|
||||||
decelerationRate="fast">
|
snapToInterval={MOBILE_CARD_WIDTH + a.gap_md.gap}
|
||||||
<View style={[a.px_lg, a.pt_sm, a.pb_lg, a.flex_row, a.gap_md]}>
|
decelerationRate="fast">
|
||||||
{content}
|
<View style={[a.px_lg, a.pt_sm, a.pb_lg, a.flex_row, a.gap_md]}>
|
||||||
|
{content}
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
label={_(msg`Browse more accounts on the Explore page`)}
|
label={_(msg`Browse more accounts on the Explore page`)}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigation.navigate('SearchTab')
|
navigation.navigate('SearchTab')
|
||||||
}}>
|
}}>
|
||||||
<CardOuter style={[a.flex_1, {borderWidth: 0}]}>
|
<CardOuter style={[a.flex_1, {borderWidth: 0}]}>
|
||||||
<View style={[a.flex_1, a.justify_center]}>
|
<View style={[a.flex_1, a.justify_center]}>
|
||||||
<View style={[a.flex_row, a.px_lg]}>
|
<View style={[a.flex_row, a.px_lg]}>
|
||||||
<Text style={[a.pr_xl, a.flex_1, a.leading_snug]}>
|
<Text style={[a.pr_xl, a.flex_1, a.leading_snug]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Browse more suggestions on the Explore page
|
Browse more suggestions on the Explore page
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<Arrow size="xl" />
|
<Arrow size="xl" />
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</CardOuter>
|
||||||
</CardOuter>
|
</Button>
|
||||||
</Button>
|
</View>
|
||||||
</View>
|
</ScrollView>
|
||||||
</ScrollView>
|
</View>
|
||||||
</BlockDrawerGesture>
|
</BlockDrawerGesture>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user