Skip to content

Commit

Permalink
fix issue that breaks scroll views w/ RefreshControl on Android
Browse files Browse the repository at this point in the history
Summary:
Fixes the issue I mentioned here #5623 (comment)
Closes #5784

Reviewed By: svcscm

Differential Revision: D2908112

Pulled By: nicklockwood

fb-gh-sync-id: 8a2f053de3f7dc19807ee21dd969c53a57b71345
  • Loading branch information
keithnorm authored and facebook-github-bot-7 committed Feb 6, 2016
1 parent 64d56f3 commit 9879717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ var ScrollView = React.createClass({
// AndroidSwipeRefreshLayout and use flex: 1 for the ScrollView.
return React.cloneElement(
refreshControl,
{style: this.props.style},
{style: props.style},
<ScrollViewClass {...props} style={styles.base} ref={SCROLLVIEW}>
{contentContainer}
</ScrollViewClass>
Expand Down

0 comments on commit 9879717

Please sign in to comment.