fix(ScrollView): fix issue with scroll view not scrolling (#872)
Fixes #871
This commit is contained in:
Родитель
1c26695c51
Коммит
41cf81a5d6
|
@ -558,14 +558,12 @@ const ScrollView = React.createClass({
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
baseVertical: {
|
baseVertical: {
|
||||||
flexGrow: 1,
|
flex: 1,
|
||||||
flexShrink: 1,
|
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
overflow: 'scroll',
|
overflow: 'scroll',
|
||||||
},
|
},
|
||||||
baseHorizontal: {
|
baseHorizontal: {
|
||||||
flexGrow: 1,
|
flex: 1,
|
||||||
flexShrink: 1,
|
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
overflow: 'scroll',
|
overflow: 'scroll',
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче