Skip to content
Permalink
Browse files

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
  • Loading branch information...
Wenjing Wang Facebook Github Bot 6
Wenjing Wang authored and Facebook Github Bot 6 committed Jun 10, 2016
1 parent fb0007d commit 13dfb6267a16f3430cf609d47b290ab977082300
Showing with 1 addition and 2 deletions.
  1. +1 −2 Libraries/Components/ScrollView/ScrollView.js
@@ -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,

0 comments on commit 13dfb62

Please sign in to comment.
You can’t perform that action at this time.