Fix broken image cropper - can not scroll

Summary: ImageCropper is broken on iOS. Can not scroll up and down

Differential Revision: D3413397

fbshipit-source-id: 75096fc1d5dd14764c0ddd4fd3888a9576c1d1ce
This commit is contained in:
Wenjing Wang 2016-06-09 23:08:05 -07:00 committed by Facebook Github Bot 6
parent fb0007d853
commit 13dfb6267a
1 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ const ColorPropType = require('ColorPropType');
const EdgeInsetsPropType = require('EdgeInsetsPropType');
const Platform = require('Platform');
const PointPropType = require('PointPropType');
const RCTScrollViewManager = require('NativeModules').ScrollViewManager;
const React = require('React');
const ReactNative = require('ReactNative');
const ScrollResponder = require('ScrollResponder');
@ -469,7 +468,6 @@ const ScrollView = React.createClass({
!this.props.horizontal;
const baseStyle = this.props.horizontal ? styles.baseHorizontal : styles.baseVertical;
const props = {
...this.props,
alwaysBounceHorizontal,
@ -548,6 +546,7 @@ const ScrollView = React.createClass({
const styles = StyleSheet.create({
baseVertical: {
flex: 1,
flexDirection: 'column',
},
baseHorizontal: {
flex: 1,