mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 17:25:13 +03:00
Merge pull request #2044 from ecency/nt/scrolling-comment
Nt - Scrolling Comment
This commit is contained in:
commit
80c157cad2
@ -1,3 +1,4 @@
|
||||
import { Dimensions } from 'react-native';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
@ -26,6 +27,9 @@ export default EStyleSheet.create({
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
marginBottom: 40,
|
||||
},
|
||||
scrollContent: {
|
||||
minHeight: Dimensions.get('window').height,
|
||||
},
|
||||
footer: {
|
||||
flexDirection: 'column',
|
||||
marginTop: 19,
|
||||
|
@ -204,6 +204,7 @@ const PostDisplayView = ({
|
||||
<View style={styles.container}>
|
||||
<ScrollView
|
||||
style={styles.scroll}
|
||||
contentContainerStyle={styles.scrollContent}
|
||||
onScroll={(event) => _handleOnScroll(event)}
|
||||
scrollEventThrottle={16}
|
||||
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />}
|
||||
|
Loading…
Reference in New Issue
Block a user