diff --git a/Libraries/Components/ListView/ListView.js b/Libraries/Components/ListView/ListView.js index 1eb7eef5d..d4a7593c8 100644 --- a/Libraries/Components/ListView/ListView.js +++ b/Libraries/Components/ListView/ListView.js @@ -401,8 +401,8 @@ var ListView = React.createClass({ var header = this.props.renderHeader && this.props.renderHeader(); var totalIndex = header ? 1 : 0; var visibilityChanged = false; - var changedRows = {}; - for (var sectionIdx = 0; sectionIdx < allRowIDs.length; sectionIdx++) { + var changedRows = {}; + for (var sectionIdx = 0; sectionIdx < allRowIDs.length; sectionIdx++) { var rowIDs = allRowIDs[sectionIdx]; if (rowIDs.length === 0) { continue; diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 09f7b94d6..157cc8e1f 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -310,8 +310,8 @@ var validAttributes = { alwaysBounceVertical: true, automaticallyAdjustContentInsets: true, centerContent: true, - contentInset: insetsDiffer, - contentOffset: pointsDiffer, + contentInset: {diff: insetsDiffer}, + contentOffset: {diff: pointsDiffer}, decelerationRate: true, horizontal: true, keyboardDismissMode: true, @@ -321,11 +321,11 @@ var validAttributes = { pagingEnabled: true, removeClippedSubviews: true, scrollEnabled: true, - scrollIndicatorInsets: insetsDiffer, + scrollIndicatorInsets: {diff: insetsDiffer}, scrollsToTop: true, showsHorizontalScrollIndicator: true, showsVerticalScrollIndicator: true, - stickyHeaderIndices: deepDiffer, + stickyHeaderIndices: {diff: deepDiffer}, throttleScrollCallbackMS: true, zoomScale: true, };