Fix: ensure all views can scroll to the bottom
This commit is contained in:
parent
2972fd8372
commit
80f58cf9f3
13 changed files with 15 additions and 5 deletions
|
@ -128,6 +128,7 @@ export const SuggestedFollows = observer(
|
|||
keyExtractor={item => item._reactKey}
|
||||
renderItem={renderItem}
|
||||
style={s.flex1}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
|
|
@ -15,7 +15,6 @@ import * as EmailValidator from 'email-validator'
|
|||
import {Logo} from './Logo'
|
||||
import {Picker} from '../util/Picker'
|
||||
import {TextLink} from '../util/Link'
|
||||
import {ToggleButton} from '../util/forms/ToggleButton'
|
||||
import {Text} from '../util/text/Text'
|
||||
import {s, colors} from '../../lib/styles'
|
||||
import {
|
||||
|
@ -366,7 +365,7 @@ export const CreateAccount = ({onPressBack}: {onPressBack: () => void}) => {
|
|||
</>
|
||||
) : undefined}
|
||||
</View>
|
||||
<View style={{height: 100}} />
|
||||
<View style={s.footerSpacer} />
|
||||
</KeyboardAvoidingView>
|
||||
</ScrollView>
|
||||
)
|
||||
|
|
|
@ -76,6 +76,7 @@ export const Feed = observer(function Feed({
|
|||
onRefresh={onRefresh}
|
||||
onEndReached={onEndReached}
|
||||
onScroll={onScroll}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
|
|
|
@ -75,6 +75,7 @@ export const PostRepostedBy = observer(function PostRepostedBy({
|
|||
data={view.repostedBy}
|
||||
keyExtractor={item => item._reactKey}
|
||||
renderItem={renderItem}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
|
|
@ -76,6 +76,7 @@ export const PostVotedBy = observer(function PostVotedBy({
|
|||
data={view.votes}
|
||||
keyExtractor={item => item._reactKey}
|
||||
renderItem={renderItem}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
|
|
@ -73,6 +73,7 @@ export const ProfileFollowers = observer(function ProfileFollowers({
|
|||
data={view.followers}
|
||||
keyExtractor={item => item._reactKey}
|
||||
renderItem={renderItem}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
|
|
@ -73,6 +73,7 @@ export const ProfileFollows = observer(function ProfileFollows({
|
|||
data={view.follows}
|
||||
keyExtractor={item => item._reactKey}
|
||||
renderItem={renderItem}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
|
|
@ -96,6 +96,7 @@ export function ViewSelector({
|
|||
onScroll={onScroll}
|
||||
onRefresh={onRefresh}
|
||||
onEndReached={onEndReached}
|
||||
contentContainerStyle={{paddingBottom: 200}}
|
||||
/>
|
||||
</HorzSwipe>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue