Skip to content

Commit

Permalink
Fix broken image cropper - can not scroll
Browse files Browse the repository at this point in the history
Summary: ImageCropper is broken on iOS. Can not scroll up and down

Differential Revision: D3413397

fbshipit-source-id: 75096fc1d5dd14764c0ddd4fd3888a9576c1d1ce
  • Loading branch information
Wenjing Wang authored and Facebook Github Bot 6 committed Jun 10, 2016
1 parent fb0007d commit 13dfb62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -548,6 +546,7 @@ const ScrollView = React.createClass({
const styles = StyleSheet.create({
baseVertical: {
flex: 1,
flexDirection: 'column',
},
baseHorizontal: {
flex: 1,
Expand Down

0 comments on commit 13dfb62

Please sign in to comment.